Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.002338/0.002338, allocations: 91.62 kB / 20.96 MB, free: 3.461 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.002693/0.002693, allocations: 165.3 kB / 24.27 MB, free: 152 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.618/1.618, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.221e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004929/0.004961, allocations: 2.781 MB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.006787, allocations: 0.6543 MB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.006961, allocations: 4 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.007164, allocations: 47.56 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.007408, allocations: 99.14 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.007727, allocations: 87.75 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.008239, allocations: 390.3 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.008453, allocations: 87.33 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.008768, allocations: 219.5 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.008992, allocations: 127.6 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.009064, allocations: 36 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.009137, allocations: 36 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.009231, allocations: 75.69 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.009398, allocations: 115.7 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.009934, allocations: 398.7 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.009938, allocations: 0 / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009939, allocations: 0 / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.009945, allocations: 0 / 277.4 MB, free: 12.68 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001378/0.01132, allocations: 0.6816 MB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.01136, allocations: 11.97 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.01148, allocations: 52.75 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.01189, allocations: 229 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.01192, allocations: 20.86 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.01198, allocations: 28.31 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.01268, allocations: 352.4 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.0127, allocations: 4.172 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.01273, allocations: 12.38 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.01274, allocations: 7.938 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.01342, allocations: 209.8 kB / 279 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.01537, allocations: 1.082 MB / 280.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.01599, allocations: 175.1 kB / 280.3 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.01623, allocations: 75.66 kB / 280.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.01626, allocations: 3.984 kB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004612/0.01673, allocations: 223.4 kB / 280.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.01673, allocations: 0 / 280.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001626/0.01835, allocations: 356.9 kB / 280.9 MB, free: 8.941 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.01846, allocations: 110.8 kB / 281 MB, free: 8.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.01889, allocations: 356.2 kB / 281.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.01892, allocations: 29.7 kB / 281.4 MB, free: 8.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.01914, allocations: 266.7 kB / 281.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.01919, allocations: 35.69 kB / 281.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.01932, allocations: 71.48 kB / 281.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.01964, allocations: 0.5118 MB / 282.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.01992, allocations: 105.9 kB / 282.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.02038, allocations: 335.8 kB / 282.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.02099, allocations: 309.1 kB / 283 MB, free: 6.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.02099, allocations: 4 kB / 283 MB, free: 6.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001042/0.02204, allocations: 420.3 kB / 283.4 MB, free: 6.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.02209, allocations: 33.7 kB / 283.5 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.0221, allocations: 4 kB / 283.5 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/0.02262, allocations: 95.75 kB / 283.6 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.02282, allocations: 39.97 kB / 283.6 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.02554, allocations: 2.057 MB / 285.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.02591, allocations: 51.8 kB / 285.7 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.02594, allocations: 8 kB / 285.7 MB, free: 3.766 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.02621, allocations: 192.5 kB / 285.9 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.02628, allocations: 31.78 kB / 286 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.02635, allocations: 29.77 kB / 286 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.02635, allocations: 0 / 286 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.02635, allocations: 0 / 286 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.02636, allocations: 0 / 286 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.02671, allocations: 252.4 kB / 286.2 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02671, allocations: 4 kB / 286.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.0268, allocations: 11.98 kB / 286.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/0.02722, allocations: 83.62 kB / 286.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.02724, allocations: 7.938 kB / 286.3 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.02973, allocations: 2.034 MB / 288.4 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02973, allocations: 0 / 288.4 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.03059, allocations: 279.7 kB / 288.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.0307, allocations: 39.77 kB / 288.7 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.03074, allocations: 7.938 kB / 288.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.03093, allocations: 20.02 kB / 288.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.03104, allocations: 27.95 kB / 288.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.03105, allocations: 4 kB / 288.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.03133, allocations: 241 kB / 289 MB, free: 324 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03133, allocations: 0 / 289 MB, free: 324 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000414/0.03175, allocations: 83.84 kB / 289.1 MB, free: 240 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.03191, allocations: 95.25 kB / 289.1 MB, free: 136 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.03295, allocations: 485.4 kB / 289.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.03296, allocations: 4 kB / 289.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.03341, allocations: 277.3 kB / 289.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.03372, allocations: 48.95 kB / 289.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.0348, allocations: 447.1 kB / 290.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.03496, allocations: 146.7 kB / 290.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.03507, allocations: 22.28 kB / 290.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.03513, allocations: 20.5 kB / 290.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03513, allocations: 0 / 290.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of Templates: time 0.01043/0.04556, allocations: 4.137 MB / 294.7 MB, free: 10.54 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.716521599912085]