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.001906/0.001906, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002192/0.002192, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.427/1.427, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001538/0.001538, allocations: 51.91 kB / 371.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2241, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00446/0.2285, allocations: 2.966 MB / 426.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2298, allocations: 0.744 MB / 427.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2299, allocations: 4 kB / 427.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.2301, allocations: 51.5 kB / 427.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.2303, allocations: 107.2 kB / 427.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.2306, allocations: 111.8 kB / 427.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.2311, allocations: 422.4 kB / 428.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2313, allocations: 95.67 kB / 428.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.2315, allocations: 159.4 kB / 428.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.2317, allocations: 167.3 kB / 428.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.2318, allocations: 40 kB / 428.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.2318, allocations: 40 kB / 428.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.2319, allocations: 83.69 kB / 428.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2321, allocations: 179.2 kB / 429 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.2326, allocations: 455.5 kB / 429.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2326, allocations: 0 / 429.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2326, allocations: 0 / 429.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2326, allocations: 0 / 429.5 MB, free: 9.082 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.001343/0.234, allocations: 0.6053 MB / 430.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.234, allocations: 8.031 kB / 430.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.2341, allocations: 36.75 kB / 430.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.2345, allocations: 253.8 kB / 430.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.2345, allocations: 20.88 kB / 430.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.2346, allocations: 28.31 kB / 430.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.2353, allocations: 331 kB / 430.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2353, allocations: 0 / 430.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2354, allocations: 8 kB / 430.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.2354, allocations: 8 kB / 430.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008378/0.2362, allocations: 289.8 kB / 431.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.2382, allocations: 1.104 MB / 432.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.2391, allocations: 238.6 kB / 432.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.2394, allocations: 104.7 kB / 432.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.2394, allocations: 4 kB / 432.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.2399, allocations: 177.9 kB / 432.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2399, allocations: 0 / 432.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0023/0.2422, allocations: 0.5907 MB / 433.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.2423, allocations: 110.8 kB / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.2426, allocations: 277.8 kB / 433.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.2426, allocations: 33.7 kB / 433.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.2428, allocations: 204 kB / 433.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.2428, allocations: 47.61 kB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.2429, allocations: 49.89 kB / 434 MB, free: 4.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2431, allocations: 334.8 kB / 434.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.2435, allocations: 104.4 kB / 434.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.2439, allocations: 210.2 kB / 434.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.2446, allocations: 307.1 kB / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2446, allocations: 7.938 kB / 434.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001286/0.2459, allocations: 471.7 kB / 435.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.246, allocations: 33.7 kB / 435.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.246, allocations: 7.984 kB / 435.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/0.2463, allocations: 80.88 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2466, allocations: 51.89 kB / 435.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.2493, allocations: 1.891 MB / 437.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.2497, allocations: 55.91 kB / 437.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.2497, allocations: 8 kB / 437.5 MB, free: 0.6016 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.0001677/0.2499, allocations: 157.6 kB / 437.6 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.2499, allocations: 23.86 kB / 437.7 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.25, allocations: 29.77 kB / 437.7 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.25, allocations: 0 / 437.7 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.25, allocations: 0 / 437.7 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.25, allocations: 4 kB / 437.7 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.2503, allocations: 296.5 kB / 438 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2503, allocations: 0 / 438 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2504, allocations: 27.91 kB / 438 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003174/0.2507, allocations: 80.8 kB / 438.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2508, allocations: 7.938 kB / 438.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.2532, allocations: 1.705 MB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2532, allocations: 3.984 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2543, allocations: 369.6 kB / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.2544, allocations: 27.84 kB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.2544, allocations: 8 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.2547, allocations: 27.97 kB / 440.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.2547, allocations: 23.95 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2547, allocations: 8 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.255, allocations: 201.1 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.255, allocations: 4 kB / 440.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.2553, allocations: 79.84 kB / 440.5 MB, free: 13.34 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.0001294/0.2555, allocations: 103.2 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.2565, allocations: 425.7 kB / 441.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2565, allocations: 0.6875 kB / 441.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.257, allocations: 230.5 kB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2573, allocations: 55.77 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2584, allocations: 0.5098 MB / 441.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.2588, allocations: 0.7558 MB / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.2589, allocations: 19.44 kB / 442.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2589, allocations: 0 / 442.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Templates: time 0.007549/0.2664, allocations: 4.781 MB / 447.4 MB, free: 6.398 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.267993246903643]