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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009997/0.0009997, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9941/0.9941, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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=5004,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=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 274.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.813e-05, allocations: 2.312 kB / 274.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.01602/0.01605, allocations: 5.572 MB / 279.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.02188, allocations: 1.191 MB / 280.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000871/0.02276, allocations: 19.94 kB / 281 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.02327, allocations: 170.4 kB / 281.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009785/0.02425, allocations: 297.3 kB / 281.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.02477, allocations: 223.6 kB / 281.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008502/0.02562, allocations: 1.11 MB / 282.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.02604, allocations: 382.9 kB / 283.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.02648, allocations: 0.6277 MB / 283.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.02683, allocations: 378.9 kB / 284.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.02692, allocations: 100 kB / 284.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.02701, allocations: 96 kB / 284.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.02712, allocations: 219.2 kB / 284.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.02734, allocations: 371.1 kB / 284.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.02788, allocations: 0.7161 MB / 285.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.02788, allocations: 0 / 285.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.02789, allocations: 7.984 kB / 285.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.02789, allocations: 0 / 285.6 MB, free: 8.738 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.001142/0.02903, allocations: 1.294 MB / 286.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.02907, allocations: 12.03 kB / 286.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.02922, allocations: 176.3 kB / 287.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.02958, allocations: 403.6 kB / 287.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.02963, allocations: 70.38 kB / 287.5 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.764e-05/0.02971, allocations: 104.3 kB / 287.6 MB, free: 6.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.03037, allocations: 0.923 MB / 288.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.03039, allocations: 192 / 288.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.107e-05/0.03044, allocations: 40.38 kB / 288.6 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.03045, allocations: 27.94 kB / 288.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.03074, allocations: 281.6 kB / 288.9 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.0331, allocations: 2.809 MB / 291.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.03329, allocations: 197.5 kB / 291.9 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.03344, allocations: 165.9 kB / 292.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.03346, allocations: 8 kB / 292.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.03348, allocations: 45.39 kB / 292.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.552e-06/0.03348, allocations: 0 / 292.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.000736/0.03422, allocations: 448.6 kB / 292.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.03424, allocations: 55.41 kB / 292.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.03471, allocations: 0.4942 MB / 293.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.03477, allocations: 33.7 kB / 293.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.03501, allocations: 0.5486 MB / 293.7 MB, free: 292 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.03512, allocations: 170.6 kB / 293.9 MB, free: 120 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.03526, allocations: 140.2 kB / 294 MB, free: 15.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.03541, allocations: 0.539 MB / 294.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.03551, allocations: 77.92 kB / 294.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.03577, allocations: 481.2 kB / 295.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.03617, allocations: 0.6079 MB / 295.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.03618, allocations: 4 kB / 295.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006917/0.03687, allocations: 0.5982 MB / 296.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.03689, allocations: 15.94 kB / 296.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.0369, allocations: 11.98 kB / 296.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.03716, allocations: 95.97 kB / 296.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.03752, allocations: 187.7 kB / 296.6 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.03878, allocations: 2.263 MB / 298.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.03908, allocations: 83.34 kB / 298.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.0391, allocations: 28 kB / 299 MB, free: 10.51 MB / 282.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.000188/0.03929, allocations: 212.3 kB / 299.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.03937, allocations: 75.56 kB / 299.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.03942, allocations: 65.19 kB / 299.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.03942, allocations: 4 kB / 299.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.03943, allocations: 0 / 299.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.03943, allocations: 0 / 299.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.03979, allocations: 356.7 kB / 299.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.03979, allocations: 0 / 299.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.04001, allocations: 99.88 kB / 299.8 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/0.04018, allocations: 75.59 kB / 299.8 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.0402, allocations: 16 kB / 299.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.04149, allocations: 2.244 MB / 302.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.04149, allocations: 0 / 302.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.04196, allocations: 0.5446 MB / 302.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.04203, allocations: 59.58 kB / 302.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.04207, allocations: 8 kB / 302.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.0423, allocations: 47.97 kB / 302.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.04236, allocations: 31.94 kB / 302.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.04237, allocations: 8 kB / 302.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.04253, allocations: 302.7 kB / 303.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.04253, allocations: 0 / 303.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005356/0.04307, allocations: 255.3 kB / 303.3 MB, free: 5.969 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.0001102/0.04318, allocations: 107.2 kB / 303.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.0437, allocations: 0.5226 MB / 304 MB, free: 5.316 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.04371, allocations: 0 / 304 MB, free: 5.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.04396, allocations: 340.9 kB / 304.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.04433, allocations: 100.4 kB / 304.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.04595, allocations: 1.259 MB / 305.7 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.04606, allocations: 150.6 kB / 305.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.04625, allocations: 64.94 kB / 305.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.0465, allocations: 214.1 kB / 306.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.04651, allocations: 4 kB / 306.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of Templates: time 0.01069/0.0572, allocations: 7.418 MB / 313.5 MB, free: 11.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0353236556984484]