Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002324/0.002324, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.92 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2441, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004449/0.2485, allocations: 2.733 MB / 426.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2498, allocations: 0.7051 MB / 427.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.25, allocations: 11.94 kB / 427.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.2501, allocations: 51.5 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.2503, allocations: 99.17 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2506, allocations: 127.7 kB / 427.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.2511, allocations: 418.5 kB / 428 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.2513, allocations: 86.64 kB / 428.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.2515, allocations: 159.4 kB / 428.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.2517, allocations: 151.2 kB / 428.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.2518, allocations: 40 kB / 428.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.2519, allocations: 40 kB / 428.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.252, allocations: 83.69 kB / 428.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2521, allocations: 147.3 kB / 428.7 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.2526, allocations: 454 kB / 429.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2527, allocations: 0 / 429.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2527, allocations: 0 / 429.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.2527, allocations: 4 kB / 429.1 MB, free: 9.203 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001302/0.254, allocations: 0.6082 MB / 429.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.254, allocations: 12.03 kB / 429.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.2541, allocations: 36.75 kB / 429.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.2545, allocations: 241.8 kB / 430 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.2545, allocations: 20.88 kB / 430 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.2546, allocations: 24.38 kB / 430.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007683/0.2553, allocations: 378.4 kB / 430.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2553, allocations: 4 kB / 430.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.2554, allocations: 12 kB / 430.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2554, allocations: 4 kB / 430.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.2562, allocations: 289.8 kB / 430.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.2581, allocations: 0.9798 MB / 431.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008553/0.259, allocations: 242.5 kB / 431.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2593, allocations: 96.72 kB / 432 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.2593, allocations: 4 kB / 432 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005112/0.2598, allocations: 237.4 kB / 432.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2598, allocations: 0 / 432.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002325/0.2622, allocations: 0.5915 MB / 432.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.2622, allocations: 102.8 kB / 433 MB, free: 5.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.2626, allocations: 273.8 kB / 433.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.2626, allocations: 29.7 kB / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.2628, allocations: 204 kB / 433.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.2628, allocations: 47.64 kB / 433.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.2629, allocations: 45.94 kB / 433.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2631, allocations: 334.8 kB / 433.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.2634, allocations: 138.1 kB / 434 MB, free: 4.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.2639, allocations: 285.5 kB / 434.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/0.2647, allocations: 311.7 kB / 434.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2647, allocations: 0 / 434.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001328/0.266, allocations: 0.5085 MB / 435.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.2661, allocations: 29.7 kB / 435.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2661, allocations: 4 kB / 435.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.2665, allocations: 88.86 kB / 435.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2667, allocations: 43.91 kB / 435.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.2695, allocations: 1.857 MB / 437.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.2698, allocations: 63.8 kB / 437.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2698, allocations: 8 kB / 437.2 MB, free: 0.625 MB / 334.1 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.27, allocations: 153.1 kB / 437.3 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.27, allocations: 23.86 kB / 437.4 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.2701, allocations: 25.77 kB / 437.4 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2701, allocations: 4.125 kB / 437.4 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2701, allocations: 8 kB / 437.4 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2701, allocations: 0 / 437.4 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.2704, allocations: 213.2 kB / 437.6 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2704, allocations: 4 kB / 437.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.2705, allocations: 19.97 kB / 437.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.2708, allocations: 80.8 kB / 437.7 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2708, allocations: 8 kB / 437.7 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.2733, allocations: 1.671 MB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2733, allocations: 4 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2744, allocations: 373.5 kB / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.2745, allocations: 27.86 kB / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.2745, allocations: 0 / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.2748, allocations: 39.89 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.2748, allocations: 27.91 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.2748, allocations: 4 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002156/0.2751, allocations: 193.2 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2751, allocations: 0 / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.2755, allocations: 79.83 kB / 440.1 MB, free: 13.52 MB / 350.1 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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.2756, allocations: 99.25 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.2767, allocations: 459.4 kB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2767, allocations: 0 / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.2772, allocations: 235.2 kB / 440.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.2775, allocations: 46.42 kB / 440.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2786, allocations: 0.504 MB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.2788, allocations: 150.9 kB / 441.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.2789, allocations: 19.44 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2789, allocations: 0 / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Templates: time 0.007536/0.2864, allocations: 4.804 MB / 446.4 MB, free: 7.141 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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: 7.328364627901465]