Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 57.75 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006724/0.1252, allocations: 5.782 MB / 364.7 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1276, allocations: 1.2 MB / 365.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.1279, allocations: 23.94 kB / 365.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1283, allocations: 166.4 kB / 366.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.1288, allocations: 277.5 kB / 366.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.1293, allocations: 219.7 kB / 366.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000927/0.1302, allocations: 1.071 MB / 367.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006516/0.1309, allocations: 0.5142 MB / 368.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.1313, allocations: 410.6 kB / 368.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.1318, allocations: 481.9 kB / 369 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.1319, allocations: 100 kB / 369.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1321, allocations: 96 kB / 369.2 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.1322, allocations: 223.3 kB / 369.4 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.1326, allocations: 0.4977 MB / 369.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.1336, allocations: 1.102 MB / 371 MB, free: 1.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1336, allocations: 0 / 371 MB, free: 1.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1336, allocations: 0 / 371 MB, free: 1.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1336, allocations: 4 kB / 371 MB, free: 1.148 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.2431/0.3767, allocations: 1.229 MB / 372.2 MB, free: 20.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.3768, allocations: 10.16 kB / 372.3 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.3771, allocations: 104.2 kB / 372.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/0.378, allocations: 466.3 kB / 372.8 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.832e-05/0.3782, allocations: 71.72 kB / 372.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.3783, allocations: 99.22 kB / 373 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.3799, allocations: 0.864 MB / 373.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.38, allocations: 0.5156 kB / 373.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.38, allocations: 47.72 kB / 373.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.3801, allocations: 23.31 kB / 373.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.3813, allocations: 0.5709 MB / 374.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004503/0.3858, allocations: 2.936 MB / 377.4 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.3863, allocations: 306.5 kB / 377.7 MB, free: 17.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.3867, allocations: 273.1 kB / 378 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3868, allocations: 3.719 kB / 378 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3868, allocations: 40.5 kB / 378 MB, free: 17.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.3868, allocations: 0 / 378 MB, free: 17.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001558/0.3884, allocations: 0.6475 MB / 378.7 MB, free: 17.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.3884, allocations: 60.14 kB / 378.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.3891, allocations: 0.5027 MB / 379.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.3891, allocations: 38.52 kB / 379.3 MB, free: 16.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.3894, allocations: 490.7 kB / 379.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.3895, allocations: 154.5 kB / 379.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.3896, allocations: 137.6 kB / 380 MB, free: 16.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3898, allocations: 369.6 kB / 380.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.3901, allocations: 171.8 kB / 380.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.3905, allocations: 453.8 kB / 381 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.3912, allocations: 0.6495 MB / 381.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3912, allocations: 2.344 kB / 381.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001138/0.3923, allocations: 0.7588 MB / 382.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.3924, allocations: 8.953 kB / 382.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.3924, allocations: 9.625 kB / 382.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/0.3927, allocations: 88.12 kB / 382.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.3934, allocations: 197.3 kB / 382.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.3951, allocations: 2.007 MB / 384.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.3956, allocations: 91.22 kB / 384.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.3957, allocations: 36.25 kB / 384.9 MB, free: 12.51 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.396, allocations: 219.7 kB / 385.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/0.3961, allocations: 57.94 kB / 385.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/0.3961, allocations: 62.44 kB / 385.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3962, allocations: 4.078 kB / 385.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.3962, allocations: 6.406 kB / 385.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3962, allocations: 2.109 kB / 385.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008628/0.3971, allocations: 0.6451 MB / 385.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3971, allocations: 0 / 385.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.3975, allocations: 100.8 kB / 385.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.3977, allocations: 77.2 kB / 386 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.3978, allocations: 6.734 kB / 386 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.3993, allocations: 1.989 MB / 388 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3993, allocations: 2.938 kB / 388 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.4002, allocations: 0.6623 MB / 388.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4003, allocations: 131.5 kB / 388.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.4004, allocations: 6.75 kB / 388.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.4008, allocations: 47.92 kB / 388.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.4009, allocations: 28.28 kB / 388.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.4009, allocations: 13.7 kB / 388.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003977/0.4013, allocations: 352.5 kB / 389.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4013, allocations: 0 / 389.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008815/0.4022, allocations: 244.4 kB / 389.5 MB, free: 9.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.4024, allocations: 117.1 kB / 389.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.4035, allocations: 0.5973 MB / 390.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4035, allocations: 1.094 kB / 390.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.4039, allocations: 312.2 kB / 390.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.4045, allocations: 127.8 kB / 390.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.4067, allocations: 1.383 MB / 392 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.4072, allocations: 0.9343 MB / 392.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002662/0.4074, allocations: 70.22 kB / 393 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.031e-05/0.4075, allocations: 39.06 kB / 393 MB, free: 7.141 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4075, allocations: 9.094 kB / 393.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of Templates: time 0.01297/0.4205, allocations: 7.164 MB / 400.2 MB, free: 4.023 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches