Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.0009056/0.0009056, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009923/0.0009923, allocations: 168.3 kB / 24.91 MB, free: 8.762 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.946/0.946, allocations: 177 MB / 205.2 MB, free: 5.434 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.635e-05, allocations: 2.312 kB / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.006404/0.00642, allocations: 2.837 MB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.007473, allocations: 0.6853 MB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.01046, allocations: 4 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.0106, allocations: 51.44 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.01074, allocations: 99.12 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.01094, allocations: 87.88 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.01122, allocations: 390.1 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.01136, allocations: 97.89 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.01155, allocations: 219.5 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.01169, allocations: 119.6 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.01172, allocations: 36 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.042e-05/0.01175, allocations: 36 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.0118, allocations: 75.72 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.01188, allocations: 119.7 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.0121, allocations: 243.1 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.0121, allocations: 4 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0121, allocations: 0 / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.0121, allocations: 4 kB / 278.5 MB, free: 12.04 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.0006779/0.01278, allocations: 0.5415 MB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.01282, allocations: 16.03 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.01291, allocations: 40.91 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.01315, allocations: 182.2 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.01317, allocations: 16.88 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.01319, allocations: 28.38 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.01347, allocations: 279.3 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01348, allocations: 192 / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.0135, allocations: 8.375 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.01351, allocations: 11.94 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.01362, allocations: 73.41 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.01441, allocations: 0.8014 MB / 280.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.01455, allocations: 78.42 kB / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.01459, allocations: 32.84 kB / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.0146, allocations: 7.984 kB / 280.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.01474, allocations: 157.3 kB / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.01474, allocations: 0 / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005576/0.0153, allocations: 210.5 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.01534, allocations: 110.8 kB / 281.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.01548, allocations: 240.9 kB / 281.3 MB, free: 8.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.0155, allocations: 29.7 kB / 281.3 MB, free: 8.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.01558, allocations: 195.9 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.0156, allocations: 35.69 kB / 281.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.01566, allocations: 53.91 kB / 281.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.01574, allocations: 330.8 kB / 281.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.01579, allocations: 49.92 kB / 282 MB, free: 8.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.0159, allocations: 219.2 kB / 282.2 MB, free: 8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.01603, allocations: 185.5 kB / 282.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01603, allocations: 0 / 282.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002623/0.01629, allocations: 261.7 kB / 282.6 MB, free: 7.492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.01632, allocations: 44.59 kB / 282.7 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01633, allocations: 4 kB / 282.7 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.01655, allocations: 68.91 kB / 282.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.01665, allocations: 43.91 kB / 282.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008563/0.01751, allocations: 1.323 MB / 284.1 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.01764, allocations: 47.75 kB / 284.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01765, allocations: 8 kB / 284.2 MB, free: 5.863 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 8.079e-05/0.01773, allocations: 129.8 kB / 284.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.01775, allocations: 15.98 kB / 284.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.01778, allocations: 25.77 kB / 284.3 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01778, allocations: 3.938 kB / 284.4 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01778, allocations: 4 kB / 284.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01778, allocations: 0 / 284.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.01788, allocations: 133.7 kB / 284.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01789, allocations: 0 / 284.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.01792, allocations: 15.98 kB / 284.5 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001515/0.01807, allocations: 72.72 kB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.01808, allocations: 4 kB / 284.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006883/0.01877, allocations: 1.308 MB / 285.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01877, allocations: 0 / 285.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.01895, allocations: 153.8 kB / 286 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.01899, allocations: 19.86 kB / 286.1 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.01901, allocations: 4 kB / 286.1 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.01908, allocations: 23.91 kB / 286.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.01913, allocations: 19.97 kB / 286.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01914, allocations: 4 kB / 286.1 MB, free: 3.801 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.773e-05/0.01919, allocations: 82.77 kB / 286.2 MB, free: 3.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01919, allocations: 4 kB / 286.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000195/0.01939, allocations: 87.78 kB / 286.3 MB, free: 3.629 MB / 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 7.355e-05/0.01946, allocations: 79.92 kB / 286.4 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.01974, allocations: 312.1 kB / 286.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.01974, allocations: 4.188 kB / 286.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01985, allocations: 179.3 kB / 286.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.01997, allocations: 36.48 kB / 286.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.02056, allocations: 425.7 kB / 287.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.0206, allocations: 88.25 kB / 287.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.02066, allocations: 18.3 kB / 287.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.02076, allocations: 99.28 kB / 287.5 MB, free: 2.309 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02076, allocations: 4 kB / 287.5 MB, free: 2.305 MB / 266.7 MB Notification: Performance of Templates: time 0.00532/0.02608, allocations: 4.263 MB / 291.8 MB, free: 14.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.615079775918275]