Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 143.7 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9294/0.9294, allocations: 173.4 MB / 201.5 MB, free: 8.254 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 268.6 MB, free: 9.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.112e-05, allocations: 14.61 kB / 268.6 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004918/0.004939, allocations: 5.591 MB / 274.2 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.007438, allocations: 1.218 MB / 275.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.007848, allocations: 23.94 kB / 275.4 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.008141, allocations: 166.4 kB / 275.6 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006054/0.008747, allocations: 289.2 kB / 275.9 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.009533, allocations: 227.6 kB / 276.1 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009866/0.01052, allocations: 1.11 MB / 277.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.01099, allocations: 387 kB / 277.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006934/0.01168, allocations: 0.6394 MB / 278.2 MB, free: 0 / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.01214, allocations: 386.8 kB / 278.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.01224, allocations: 100 kB / 278.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.01234, allocations: 96 kB / 278.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.01246, allocations: 223.2 kB / 279 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.01272, allocations: 367.1 kB / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.01335, allocations: 0.7161 MB / 280.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.01336, allocations: 0 / 280.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01336, allocations: 0 / 280.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.01338, allocations: 0 / 280.1 MB, free: 14.13 MB / 266.7 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.001186/0.01457, allocations: 1.166 MB / 281.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.0146, allocations: 12.02 kB / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.01475, allocations: 148.8 kB / 281.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.01511, allocations: 316.9 kB / 281.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.01515, allocations: 70.38 kB / 281.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.953e-05/0.01523, allocations: 100.4 kB / 281.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.0159, allocations: 0.9413 MB / 282.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.01592, allocations: 192 / 282.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.01596, allocations: 36.38 kB / 282.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.01598, allocations: 27.94 kB / 282.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.01641, allocations: 237.8 kB / 283.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.01865, allocations: 2.31 MB / 285.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.01884, allocations: 174.8 kB / 285.6 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.01897, allocations: 155.2 kB / 285.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.01899, allocations: 8 kB / 285.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.01901, allocations: 38.56 kB / 285.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.01901, allocations: 0 / 285.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005914/0.01961, allocations: 358.4 kB / 286.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.01963, allocations: 59.39 kB / 286.2 MB, free: 7.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.01989, allocations: 454.8 kB / 286.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.01991, allocations: 33.7 kB / 286.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.02008, allocations: 471.7 kB / 287.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.02016, allocations: 166.6 kB / 287.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.02026, allocations: 134.5 kB / 287.4 MB, free: 6.465 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.02036, allocations: 374.6 kB / 287.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.02043, allocations: 69.97 kB / 287.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.02063, allocations: 357.3 kB / 288.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.02099, allocations: 0.5062 MB / 288.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.02099, allocations: 0 / 288.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004917/0.02148, allocations: 495.3 kB / 289.2 MB, free: 4.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.0215, allocations: 8 kB / 289.2 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.02152, allocations: 12 kB / 289.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.02173, allocations: 84.89 kB / 289.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.02214, allocations: 219.7 kB / 289.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.02326, allocations: 1.598 MB / 291.1 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.0235, allocations: 79.41 kB / 291.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.02353, allocations: 24 kB / 291.2 MB, free: 2.316 MB / 266.7 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.0001311/0.02366, allocations: 165.6 kB / 291.4 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.02371, allocations: 59.88 kB / 291.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.02376, allocations: 61.19 kB / 291.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.02376, allocations: 4 kB / 291.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.02377, allocations: 0 / 291.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.02377, allocations: 0 / 291.5 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.02406, allocations: 321.4 kB / 291.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.02407, allocations: 0 / 291.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.02433, allocations: 129.9 kB / 291.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.0245, allocations: 72.78 kB / 292 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.02453, allocations: 15.94 kB / 292 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000874/0.0254, allocations: 1.572 MB / 293.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0254, allocations: 4.031 kB / 293.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.02577, allocations: 434.6 kB / 294 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.02582, allocations: 51.56 kB / 294.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.02585, allocations: 4 kB / 294.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.02603, allocations: 51.97 kB / 294.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.02609, allocations: 27.94 kB / 294.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.0261, allocations: 11.94 kB / 294.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.02623, allocations: 184.4 kB / 294.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02623, allocations: 0 / 294.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.02674, allocations: 251.4 kB / 294.6 MB, free: 14.8 MB / 282.7 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.0001118/0.02685, allocations: 100.3 kB / 294.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004555/0.0273, allocations: 453.9 kB / 295.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/0.02732, allocations: 12.56 kB / 295.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.02754, allocations: 263.1 kB / 295.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.02785, allocations: 106 kB / 295.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.02935, allocations: 1.176 MB / 296.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.02945, allocations: 146.6 kB / 296.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.02961, allocations: 64.94 kB / 296.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.02987, allocations: 185.3 kB / 297.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of SimCode: time 1.253e-06/0.02987, allocations: 4 kB / 297.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of Templates: time 0.0104/0.04026, allocations: 7.313 MB / 304.4 MB, free: 5.043 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7690167715772986]