Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.002017/0.002017, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002568/0.002568, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.88 kB / 379.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2436, allocations: 53.41 MB / 432.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004429/0.248, allocations: 3.007 MB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2494, allocations: 0.7401 MB / 436.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.2495, allocations: 11.94 kB / 436.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.2497, allocations: 51.5 kB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.2499, allocations: 107.1 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.2502, allocations: 103.8 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.2507, allocations: 422.3 kB / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2509, allocations: 91.66 kB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.2511, allocations: 155.4 kB / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.2513, allocations: 175.2 kB / 437.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.2514, allocations: 40 kB / 437.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.877e-05/0.2514, allocations: 40 kB / 437.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.547e-05/0.2515, allocations: 83.69 kB / 437.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.2517, allocations: 179.1 kB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.2522, allocations: 467.5 kB / 438.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2522, allocations: 0 / 438.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2522, allocations: 0 / 438.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.2522, allocations: 0 / 438.1 MB, free: 1.059 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001266/0.2535, allocations: 0.6053 MB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2535, allocations: 12.03 kB / 438.7 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.2536, allocations: 32.75 kB / 438.7 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.254, allocations: 249.8 kB / 439 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.2541, allocations: 25.02 kB / 439 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.2541, allocations: 24.38 kB / 439 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.2548, allocations: 294.3 kB / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2548, allocations: 0 / 439.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.2548, allocations: 12 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2548, allocations: 7.938 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006496/0.2555, allocations: 262.4 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.2573, allocations: 1.057 MB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.2579, allocations: 210.5 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.2582, allocations: 96.78 kB / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2582, allocations: 0 / 441 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/0.2586, allocations: 181.5 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.2586, allocations: 0 / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00158/0.2602, allocations: 450.2 kB / 441.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.2603, allocations: 132.5 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.2606, allocations: 285.9 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.2606, allocations: 29.7 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.2608, allocations: 208 kB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.2608, allocations: 43.64 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.2609, allocations: 53.66 kB / 442.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2611, allocations: 338.8 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.2614, allocations: 99.92 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.2617, allocations: 188.6 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.2623, allocations: 285.6 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2623, allocations: 3.938 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009511/0.2633, allocations: 403.6 kB / 443.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.2633, allocations: 38.02 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2633, allocations: 4 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.2637, allocations: 80.72 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.2639, allocations: 47.91 kB / 443.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.2663, allocations: 1.711 MB / 445.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.2666, allocations: 51.78 kB / 445.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2666, allocations: 11.94 kB / 445.5 MB, free: 9.137 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,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 (24): * Single equations (assignments): 22 * 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.0001791/0.2668, allocations: 161.2 kB / 445.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.2669, allocations: 27.81 kB / 445.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.2669, allocations: 30.11 kB / 445.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2669, allocations: 0 / 445.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2669, allocations: 4 kB / 445.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2669, allocations: 7.922 kB / 445.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.2672, allocations: 296.4 kB / 446.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2672, allocations: 0 / 446.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2674, allocations: 27.97 kB / 446.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.2676, allocations: 76.78 kB / 446.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2676, allocations: 192 / 446.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.2697, allocations: 1.711 MB / 447.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2697, allocations: 0 / 447.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.2705, allocations: 324.8 kB / 448.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.2705, allocations: 23.84 kB / 448.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.2706, allocations: 4 kB / 448.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2708, allocations: 27.97 kB / 448.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.2709, allocations: 27.95 kB / 448.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2709, allocations: 8 kB / 448.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.2711, allocations: 205.1 kB / 448.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2711, allocations: 0 / 448.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.2714, allocations: 87.84 kB / 448.6 MB, free: 5.922 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0001381/0.2716, allocations: 107.2 kB / 448.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009189/0.2725, allocations: 408.5 kB / 449.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2725, allocations: 0 / 449.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.2729, allocations: 239.2 kB / 449.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2733, allocations: 59.09 kB / 449.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.2752, allocations: 0.6302 MB / 450 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.2756, allocations: 0.76 MB / 450.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.2757, allocations: 19.44 kB / 450.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2757, allocations: 0 / 450.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of Templates: time 0.007842/0.2835, allocations: 4.968 MB / 455.7 MB, free: 14.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.283247113926336]