Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 109.4 kB / 17.73 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 196.2 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 51.88 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2907/0.4066, allocations: 5.698 MB / 380.9 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00326/0.41, allocations: 1.199 MB / 382.1 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000689/0.4107, allocations: 17.88 kB / 382.1 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.4113, allocations: 174.5 kB / 382.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007806/0.412, allocations: 273.9 kB / 382.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.4126, allocations: 225.1 kB / 382.8 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.4139, allocations: 1.069 MB / 383.8 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008172/0.4147, allocations: 0.5153 MB / 384.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00065/0.4154, allocations: 413.9 kB / 384.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/0.4161, allocations: 478 kB / 385.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.4163, allocations: 96.69 kB / 385.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.4165, allocations: 101.8 kB / 385.4 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.4167, allocations: 221 kB / 385.6 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.4172, allocations: 0.4977 MB / 386.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.4186, allocations: 1.105 MB / 387.2 MB, free: 7.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4186, allocations: 2.938 kB / 387.2 MB, free: 7.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4186, allocations: 0 / 387.2 MB, free: 7.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.4187, allocations: 0 / 387.2 MB, free: 7.594 MB / 318.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.002219/0.4209, allocations: 1.238 MB / 388.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4209, allocations: 9.125 kB / 388.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.4211, allocations: 102.5 kB / 388.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.4218, allocations: 461.2 kB / 389 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.4219, allocations: 76.5 kB / 389.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.422, allocations: 91.12 kB / 389.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.4236, allocations: 0.8731 MB / 390.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.4236, allocations: 1.062 kB / 390.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.4237, allocations: 37.34 kB / 390.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.4237, allocations: 23.16 kB / 390.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.4247, allocations: 0.5813 MB / 390.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/0.4289, allocations: 2.942 MB / 393.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.4294, allocations: 290.8 kB / 393.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.4298, allocations: 283.7 kB / 394.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.4298, allocations: 4.094 kB / 394.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.4299, allocations: 39.94 kB / 394.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.4299, allocations: 0 / 394.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001481/0.4314, allocations: 0.6486 MB / 394.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.4314, allocations: 55.67 kB / 395 MB, free: 3.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006492/0.4321, allocations: 0.5137 MB / 395.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.4321, allocations: 37.08 kB / 395.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.4324, allocations: 486.4 kB / 396 MB, free: 2.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.4325, allocations: 163.9 kB / 396.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.4326, allocations: 136.9 kB / 396.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.4327, allocations: 365.5 kB / 396.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.4331, allocations: 167.9 kB / 396.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.4335, allocations: 454.8 kB / 397.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.4341, allocations: 0.6501 MB / 397.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.4341, allocations: 3.188 kB / 397.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001216/0.4354, allocations: 0.7596 MB / 398.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.4354, allocations: 8.969 kB / 398.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.4354, allocations: 11.31 kB / 398.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.4358, allocations: 92.17 kB / 398.8 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/0.4364, allocations: 196.2 kB / 399 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.4384, allocations: 1.996 MB / 401 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.4391, allocations: 89.22 kB / 401 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.4391, allocations: 35.94 kB / 401.1 MB, free: 14.78 MB / 334.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.0003445/0.4395, allocations: 216.2 kB / 401.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4396, allocations: 57.88 kB / 401.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.4397, allocations: 66.25 kB / 401.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4397, allocations: 3.594 kB / 401.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.4397, allocations: 3.125 kB / 401.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.4398, allocations: 5.672 kB / 401.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009275/0.4407, allocations: 0.6449 MB / 402.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4407, allocations: 0.875 kB / 402.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.4411, allocations: 106.8 kB / 402.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.4414, allocations: 67.41 kB / 402.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.4414, allocations: 12.31 kB / 402.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.4434, allocations: 1.981 MB / 404.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4434, allocations: 0.8906 kB / 404.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.4446, allocations: 0.66 MB / 404.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.4448, allocations: 146.7 kB / 405 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.4448, allocations: 6.281 kB / 405 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.4454, allocations: 45.02 kB / 405.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.4455, allocations: 24.83 kB / 405.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.4455, allocations: 20.8 kB / 405.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004491/0.446, allocations: 342.9 kB / 405.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.446, allocations: 0 / 405.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009823/0.447, allocations: 240.9 kB / 405.7 MB, free: 11.6 MB / 334.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.0002836/0.4473, allocations: 122.9 kB / 405.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.4484, allocations: 0.5958 MB / 406.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4484, allocations: 0 / 406.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.449, allocations: 323 kB / 406.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.4496, allocations: 120.4 kB / 406.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.4522, allocations: 1.382 MB / 408.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.4528, allocations: 0.9299 MB / 409.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.4531, allocations: 69.67 kB / 409.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4532, allocations: 39.19 kB / 409.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4532, allocations: 0 / 409.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of Templates: time 0.02002/0.4732, allocations: 7.289 MB / 416.6 MB, free: 4.879 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches