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.001267/0.001267, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001451/0.001451, allocations: 211.4 kB / 24.48 MB, free: 3.938 MB / 14.72 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 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 0.002119/0.002119, allocations: 51.91 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2316, allocations: 53.37 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004147/0.2357, allocations: 2.626 MB / 435 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.237, allocations: 0.6467 MB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2371, allocations: 7.938 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.2373, allocations: 47.56 kB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.2375, allocations: 87.2 kB / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.2377, allocations: 95.81 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004388/0.2382, allocations: 374.5 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.2384, allocations: 87.36 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.2385, allocations: 147.5 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.2388, allocations: 171.2 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.2388, allocations: 32 kB / 436.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.2389, allocations: 36 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.239, allocations: 71.77 kB / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.2392, allocations: 147.4 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.2396, allocations: 376.2 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2396, allocations: 0 / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2396, allocations: 0 / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2396, allocations: 4 kB / 437.3 MB, free: 1.797 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001332/0.2409, allocations: 0.5858 MB / 437.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.241, allocations: 8.031 kB / 437.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.2411, allocations: 40.7 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.2414, allocations: 222.9 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2415, allocations: 16.88 kB / 438.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.2415, allocations: 24.38 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/0.2423, allocations: 362.2 kB / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2423, allocations: 0 / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.2423, allocations: 12 kB / 438.5 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2423, allocations: 4 kB / 438.5 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/0.2431, allocations: 253.5 kB / 438.8 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.2449, allocations: 0.9267 MB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000804/0.2457, allocations: 206.5 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.246, allocations: 84.8 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.246, allocations: 0 / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005131/0.2466, allocations: 229.2 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.2466, allocations: 4 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002164/0.2487, allocations: 433.9 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.2488, allocations: 110.8 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.2491, allocations: 261 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.2491, allocations: 37.64 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.2493, allocations: 203.9 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.2493, allocations: 43.69 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2494, allocations: 53.89 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2496, allocations: 330.8 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.25, allocations: 125.9 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.2504, allocations: 291.1 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.2512, allocations: 293.5 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2512, allocations: 0 / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001295/0.2525, allocations: 463.9 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.2525, allocations: 33.7 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2525, allocations: 4 kB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.2529, allocations: 72.89 kB / 442.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.2531, allocations: 51.84 kB / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.2556, allocations: 1.581 MB / 444.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.256, allocations: 47.75 kB / 444.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.256, allocations: 12 kB / 444.6 MB, free: 9.922 MB / 350.1 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.0001717/0.2562, allocations: 145.8 kB / 444.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.2562, allocations: 23.92 kB / 444.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.2563, allocations: 37.58 kB / 444.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2563, allocations: 0 / 444.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.2563, allocations: 0 / 444.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2563, allocations: 0 / 444.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.2565, allocations: 205.1 kB / 445 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2566, allocations: 7.938 kB / 445 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.2567, allocations: 19.97 kB / 445 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.257, allocations: 68.81 kB / 445.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.257, allocations: 0 / 445.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.2594, allocations: 1.566 MB / 446.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2594, allocations: 3.984 kB / 446.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2604, allocations: 313.5 kB / 447 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.2605, allocations: 39.77 kB / 447 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.2606, allocations: 4 kB / 447 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.2608, allocations: 27.97 kB / 447 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.2609, allocations: 27.95 kB / 447.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2609, allocations: 0 / 447.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.2611, allocations: 184.5 kB / 447.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2611, allocations: 0 / 447.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.2615, allocations: 83.84 kB / 447.3 MB, free: 7.023 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 (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.0001348/0.2616, allocations: 103.2 kB / 447.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.2627, allocations: 431.4 kB / 447.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2627, allocations: 0 / 447.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.2632, allocations: 227.9 kB / 448.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2635, allocations: 36.83 kB / 448.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2646, allocations: 0.4902 MB / 448.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.2647, allocations: 146.9 kB / 448.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.2648, allocations: 23.38 kB / 448.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2648, allocations: 0 / 448.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of Templates: time 0.007263/0.272, allocations: 4.419 MB / 453.2 MB, free: 1.078 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/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: 7.147743162990082]