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.0009064/0.0009064, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009343/0.0009343, allocations: 168.7 kB / 24.91 MB, free: 9.188 MB / 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 0.9911/0.9911, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 2.464e-06/2.464e-06, allocations: 0 / 273.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.367e-05, allocations: 2.312 kB / 273.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003524/0.003548, allocations: 3.098 MB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.00496, allocations: 0.814 MB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.005099, allocations: 7.938 kB / 277.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.005244, allocations: 51.48 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.005426, allocations: 134.9 kB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.005703, allocations: 127.7 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.006096, allocations: 474 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.006287, allocations: 102.1 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003798/0.006667, allocations: 267.3 kB / 278.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.006852, allocations: 151.6 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.006906, allocations: 48 kB / 278.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.763e-05/0.006944, allocations: 44 kB / 278.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.007001, allocations: 91.66 kB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.007091, allocations: 135.7 kB / 279.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.007364, allocations: 291 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007366, allocations: 0 / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.007367, allocations: 0 / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.007373, allocations: 0 / 279.3 MB, free: 11.39 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.0007048/0.008078, allocations: 0.6029 MB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.596e-05/0.008104, allocations: 8.031 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.00816, allocations: 48.89 kB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.008388, allocations: 204.7 kB / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.008403, allocations: 17.03 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.008438, allocations: 32.33 kB / 280.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.008752, allocations: 313.6 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.008764, allocations: 4.125 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.008784, allocations: 15.94 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.008792, allocations: 4 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.008895, allocations: 72.56 kB / 280.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.01017, allocations: 0.8624 MB / 281.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.01035, allocations: 118.5 kB / 281.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.01042, allocations: 48.83 kB / 281.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.01044, allocations: 4 kB / 281.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.01059, allocations: 169.3 kB / 281.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.01059, allocations: 0 / 281.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000446/0.01104, allocations: 239.7 kB / 282.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.01108, allocations: 110.8 kB / 282.2 MB, free: 8.324 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.01124, allocations: 257.2 kB / 282.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.01126, allocations: 29.7 kB / 282.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.01134, allocations: 200.7 kB / 282.7 MB, free: 7.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.01137, allocations: 59.52 kB / 282.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.01143, allocations: 53.64 kB / 282.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.01152, allocations: 346.7 kB / 283.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.01157, allocations: 53.97 kB / 283.2 MB, free: 7.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01168, allocations: 210.4 kB / 283.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.01183, allocations: 183.2 kB / 283.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01183, allocations: 0 / 283.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002745/0.0121, allocations: 269.5 kB / 283.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.01213, allocations: 33.7 kB / 283.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01214, allocations: 0 / 283.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.01231, allocations: 57.08 kB / 283.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.01248, allocations: 75.89 kB / 284 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007099/0.01319, allocations: 1.186 MB / 285.2 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.01332, allocations: 51.75 kB / 285.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01334, allocations: 12 kB / 285.2 MB, free: 5.023 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 8.407e-05/0.01342, allocations: 137.8 kB / 285.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.01345, allocations: 27.91 kB / 285.4 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.01347, allocations: 30.11 kB / 285.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01348, allocations: 4 kB / 285.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01348, allocations: 0 / 285.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01348, allocations: 3.938 kB / 285.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.01387, allocations: 392 kB / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01387, allocations: 4.031 kB / 285.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.01398, allocations: 43.97 kB / 285.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.01408, allocations: 36.83 kB / 285.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.0141, allocations: 11.98 kB / 285.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005613/0.01466, allocations: 1.19 MB / 287.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01466, allocations: 0 / 287.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.0149, allocations: 275.9 kB / 287.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01493, allocations: 23.81 kB / 287.4 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.01495, allocations: 11.94 kB / 287.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01505, allocations: 27.91 kB / 287.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.0151, allocations: 15.97 kB / 287.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.01512, allocations: 8 kB / 287.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.423e-05/0.01518, allocations: 90.75 kB / 287.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01518, allocations: 4.031 kB / 287.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000208/0.01539, allocations: 83.83 kB / 287.6 MB, free: 2.477 MB / 266.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 9.721e-05/0.01549, allocations: 92 kB / 287.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.01617, allocations: 310.6 kB / 288 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.01618, allocations: 0 / 288 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.0163, allocations: 164.1 kB / 288.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01652, allocations: 66.7 kB / 288.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.01769, allocations: 0.6577 MB / 288.9 MB, free: 1.117 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.01774, allocations: 88.17 kB / 289 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.775e-05/0.01782, allocations: 34.95 kB / 289 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.01796, allocations: 107.3 kB / 289.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of SimCode: time 1.021e-06/0.01796, allocations: 0 / 289.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of Templates: time 0.006552/0.02452, allocations: 4.558 MB / 293.7 MB, free: 12.4 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] 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","",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.831750097684562]