Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 157.7 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.833e-05/4.03e-05, allocations: 6.312 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.008745/0.008785, allocations: 2.888 MB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.01187, allocations: 0.7714 MB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003624/0.01223, allocations: 7.938 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.01257, allocations: 59.44 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.01316, allocations: 127 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.01379, allocations: 127.7 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.01487, allocations: 474 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.01526, allocations: 95.47 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.01612, allocations: 271.4 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.01656, allocations: 143.6 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.01669, allocations: 44 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.01681, allocations: 44 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.01699, allocations: 95.61 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.01732, allocations: 135.7 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.01838, allocations: 0.4985 MB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.01839, allocations: 0 / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01839, allocations: 0 / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.0184, allocations: 0 / 278.1 MB, free: 12 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002512/0.02091, allocations: 0.6472 MB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.02096, allocations: 12.03 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.02119, allocations: 64.7 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008095/0.022, allocations: 260.6 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.02205, allocations: 21.03 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.02216, allocations: 28.38 kB / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.02377, allocations: 412.9 kB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.02379, allocations: 192 / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.02386, allocations: 15.94 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.02388, allocations: 4 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.02571, allocations: 302.4 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004397/0.0301, allocations: 1.095 MB / 281 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.03172, allocations: 250.4 kB / 281.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008307/0.03255, allocations: 132.8 kB / 281.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.03258, allocations: 0 / 281.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.03365, allocations: 249.2 kB / 281.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.404e-06/0.03365, allocations: 0 / 281.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.004174/0.03783, allocations: 0.5655 MB / 282.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.03798, allocations: 110.8 kB / 282.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.03866, allocations: 286 kB / 282.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.03873, allocations: 33.7 kB / 282.6 MB, free: 7.324 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.03904, allocations: 216.3 kB / 282.8 MB, free: 7.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.03916, allocations: 51.53 kB / 282.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.03936, allocations: 61.66 kB / 282.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002967/0.03965, allocations: 334.8 kB / 283.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008184/0.04047, allocations: 145.9 kB / 283.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.0415, allocations: 298.4 kB / 283.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.0431, allocations: 334.8 kB / 284 MB, free: 5.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.0431, allocations: 3.938 kB / 284 MB, free: 5.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002613/0.04572, allocations: 0.5248 MB / 284.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/0.04579, allocations: 33.7 kB / 284.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.0458, allocations: 0 / 284.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009021/0.04671, allocations: 112.8 kB / 284.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.04725, allocations: 71.89 kB / 284.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.0511, allocations: 1.503 MB / 286.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.05167, allocations: 63.62 kB / 286.3 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.05171, allocations: 8 kB / 286.3 MB, free: 3.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002889/0.052, allocations: 153.8 kB / 286.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.05209, allocations: 35.75 kB / 286.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.05219, allocations: 34.11 kB / 286.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.05219, allocations: 4 kB / 286.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.0522, allocations: 4 kB / 286.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.0522, allocations: 0 / 286.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.05486, allocations: 0.679 MB / 287.2 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.05486, allocations: 0 / 287.2 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.05529, allocations: 48 kB / 287.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006471/0.05594, allocations: 108.7 kB / 287.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.05597, allocations: 8 kB / 287.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/0.05887, allocations: 1.491 MB / 288.8 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.05888, allocations: 8.031 kB / 288.8 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.06097, allocations: 0.5783 MB / 289.4 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.06108, allocations: 32.12 kB / 289.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.06115, allocations: 4 kB / 289.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.06154, allocations: 31.97 kB / 289.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.06165, allocations: 27.7 kB / 289.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.06168, allocations: 4 kB / 289.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003305/0.06201, allocations: 205.2 kB / 289.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06201, allocations: 0 / 289.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006079/0.06261, allocations: 87.72 kB / 289.8 MB, free: 15.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001985/0.06281, allocations: 103.2 kB / 289.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.064, allocations: 465.7 kB / 290.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.064, allocations: 4 kB / 290.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005185/0.06452, allocations: 235.1 kB / 290.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.06496, allocations: 67.23 kB / 290.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.0679, allocations: 0.8177 MB / 291.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.0681, allocations: 163.3 kB / 291.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.06825, allocations: 34.95 kB / 291.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/0.06834, allocations: 28.5 kB / 291.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.06834, allocations: 3.938 kB / 291.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of Templates: time 0.01011/0.07844, allocations: 4.302 MB / 296 MB, free: 9.391 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.575966060045175]