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.001912/0.001912, allocations: 110.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 227.4 MB / 246.5 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.72 kB / 306.5 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1533, allocations: 50.55 MB / 357 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.0109/0.1642, allocations: 5.778 MB / 362.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.1687, allocations: 1.188 MB / 364 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.1699, allocations: 24 kB / 364 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000807/0.1709, allocations: 123 kB / 364.1 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.1721, allocations: 242 kB / 364.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008087/0.1729, allocations: 187.8 kB / 364.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.1746, allocations: 1.063 MB / 365.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.1757, allocations: 0.5141 MB / 366.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007247/0.1765, allocations: 414.6 kB / 366.5 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000817/0.1773, allocations: 477.9 kB / 367 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.1775, allocations: 96 kB / 367.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.1777, allocations: 100 kB / 367.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.178, allocations: 215.3 kB / 367.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006773/0.1787, allocations: 0.5054 MB / 367.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1803, allocations: 1.09 MB / 369 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1803, allocations: 4 kB / 369 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.96e-06/0.1803, allocations: 4 kB / 369 MB, free: 2.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.1803, allocations: 0 / 369 MB, free: 2.297 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.002946/0.1833, allocations: 1.224 MB / 370.2 MB, free: 1.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.12e-05/0.1834, allocations: 12.03 kB / 370.3 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.1836, allocations: 103.7 kB / 370.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/0.1844, allocations: 463 kB / 370.8 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.253e-05/0.1845, allocations: 70.38 kB / 370.9 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.1847, allocations: 96.38 kB / 371 MB, free: 260 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2914/0.4762, allocations: 0.8598 MB / 371.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.4763, allocations: 1.797 kB / 371.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.4764, allocations: 45.5 kB / 371.9 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.4764, allocations: 23.5 kB / 371.9 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.4777, allocations: 0.5653 MB / 372.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005634/0.4834, allocations: 2.968 MB / 375.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.4839, allocations: 292.4 kB / 375.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.4844, allocations: 272.2 kB / 376 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.4845, allocations: 4.125 kB / 376 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.4845, allocations: 46 kB / 376 MB, free: 18.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.697e-06/0.4846, allocations: 0 / 376 MB, free: 18.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001937/0.4865, allocations: 0.6559 MB / 376.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4866, allocations: 60.11 kB / 376.8 MB, free: 17.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/0.4874, allocations: 0.504 MB / 377.3 MB, free: 17.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4874, allocations: 36.36 kB / 377.3 MB, free: 17.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.4878, allocations: 488.8 kB / 377.8 MB, free: 17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.4879, allocations: 157.1 kB / 377.9 MB, free: 16.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.4882, allocations: 136.5 kB / 378.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4883, allocations: 369.8 kB / 378.4 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.4887, allocations: 175.2 kB / 378.6 MB, free: 16.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.4892, allocations: 460 kB / 379 MB, free: 15.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.49, allocations: 0.6415 MB / 379.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.49, allocations: 2.375 kB / 379.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001371/0.4914, allocations: 0.7589 MB / 380.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.4915, allocations: 9.844 kB / 380.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.4915, allocations: 9.938 kB / 380.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/0.4918, allocations: 92.58 kB / 380.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.4926, allocations: 194.9 kB / 380.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.4946, allocations: 2.003 MB / 382.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.4952, allocations: 86.53 kB / 382.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.4953, allocations: 35.19 kB / 382.9 MB, free: 13.2 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.0003437/0.4956, allocations: 212.2 kB / 383.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4958, allocations: 59.75 kB / 383.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.4959, allocations: 63.94 kB / 383.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4959, allocations: 5.156 kB / 383.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.4959, allocations: 6.531 kB / 383.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4959, allocations: 7.703 kB / 383.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.497, allocations: 0.6366 MB / 383.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4971, allocations: 0 / 383.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.4975, allocations: 101.8 kB / 383.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.4977, allocations: 76.91 kB / 384 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.4978, allocations: 7.844 kB / 384 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.4995, allocations: 1.984 MB / 386 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4995, allocations: 0 / 386 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5007, allocations: 0.6672 MB / 386.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.5008, allocations: 135 kB / 386.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.5009, allocations: 7.531 kB / 386.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.5013, allocations: 47.97 kB / 386.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5014, allocations: 28.05 kB / 386.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.5015, allocations: 13.38 kB / 386.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.5019, allocations: 344.7 kB / 387.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.502, allocations: 0 / 387.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001255/0.5032, allocations: 253.5 kB / 387.5 MB, free: 10.02 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.0001783/0.5034, allocations: 116.3 kB / 387.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.5047, allocations: 0.6066 MB / 388.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5048, allocations: 0 / 388.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.5053, allocations: 316.2 kB / 388.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.5061, allocations: 115.3 kB / 388.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.509, allocations: 1.762 MB / 390.4 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.5096, allocations: 0.9308 MB / 391.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.51, allocations: 70.47 kB / 391.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.5101, allocations: 39.56 kB / 391.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of SimCode: time 3.437e-06/0.5101, allocations: 0 / 391.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of Templates: time 0.018/0.5281, allocations: 7.146 MB / 398.6 MB, free: 4.574 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches