Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001283/0.001283, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001363/0.001363, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.494/1.494, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.92 kB / 374.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1105, allocations: 53.34 MB / 427.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004446/0.1149, allocations: 2.956 MB / 430.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1163, allocations: 0.7674 MB / 431.2 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1164, allocations: 4 kB / 431.3 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.1166, allocations: 51.5 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1168, allocations: 111.1 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1171, allocations: 115.9 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2284/0.3455, allocations: 407.5 kB / 431.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.3458, allocations: 86.39 kB / 432 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.3461, allocations: 166 kB / 432.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.3463, allocations: 172.5 kB / 432.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.3463, allocations: 39.97 kB / 432.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.3464, allocations: 41.25 kB / 432.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.3465, allocations: 79.94 kB / 432.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.3466, allocations: 179.5 kB / 432.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.3471, allocations: 455.1 kB / 433.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3471, allocations: 0.8438 kB / 433.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3471, allocations: 0 / 433.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.3471, allocations: 2 kB / 433.1 MB, free: 8.016 MB / 350.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.001219/0.3483, allocations: 0.6785 MB / 433.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3484, allocations: 11.47 kB / 433.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.3484, allocations: 38.11 kB / 433.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.3488, allocations: 300.9 kB / 434.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3488, allocations: 20 kB / 434.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.3489, allocations: 28.16 kB / 434.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.3496, allocations: 321.5 kB / 434.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3496, allocations: 3.938 kB / 434.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.3496, allocations: 15.56 kB / 434.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3496, allocations: 5.625 kB / 434.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.3504, allocations: 287.7 kB / 434.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.3526, allocations: 1.144 MB / 435.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008668/0.3535, allocations: 244.8 kB / 436.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.3538, allocations: 100.9 kB / 436.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3539, allocations: 1.781 kB / 436.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.3544, allocations: 180.4 kB / 436.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3544, allocations: 4 kB / 436.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002483/0.3569, allocations: 0.6635 MB / 437.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3569, allocations: 113 kB / 437.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3572, allocations: 283.2 kB / 437.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3572, allocations: 31.14 kB / 437.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3573, allocations: 208.5 kB / 437.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3574, allocations: 41.17 kB / 437.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.3575, allocations: 52.73 kB / 437.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.3575, allocations: 335.8 kB / 438.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.3579, allocations: 108 kB / 438.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.3583, allocations: 212.7 kB / 438.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/0.359, allocations: 321.6 kB / 438.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.359, allocations: 0 / 438.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001309/0.3604, allocations: 486.1 kB / 439.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.3604, allocations: 33.64 kB / 439.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3604, allocations: 6.172 kB / 439.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.3608, allocations: 84.56 kB / 439.4 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.361, allocations: 52.72 kB / 439.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.3637, allocations: 2.064 MB / 441.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.364, allocations: 58.78 kB / 441.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.3641, allocations: 10.19 kB / 441.6 MB, free: 3.488 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.3642, allocations: 154.7 kB / 441.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.3642, allocations: 26.72 kB / 441.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.3643, allocations: 27.84 kB / 441.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3643, allocations: 5.406 kB / 441.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3643, allocations: 0.5156 kB / 441.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3643, allocations: 2.094 kB / 441.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.3646, allocations: 329.6 kB / 442.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3646, allocations: 3.938 kB / 442.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3647, allocations: 23.05 kB / 442.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/0.365, allocations: 85.81 kB / 442.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.365, allocations: 1.781 kB / 442.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.3672, allocations: 1.976 MB / 444.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3672, allocations: 1.125 kB / 444.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3686, allocations: 369.8 kB / 444.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.3687, allocations: 105.1 kB / 444.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.3687, allocations: 10.22 kB / 444.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.369, allocations: 38.58 kB / 444.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.369, allocations: 20.11 kB / 444.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.369, allocations: 6.188 kB / 444.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.3692, allocations: 200 kB / 444.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3692, allocations: 1.406 kB / 444.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004374/0.3697, allocations: 78.17 kB / 445 MB, free: 0.9375 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.0001154/0.3698, allocations: 106 kB / 445.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.3711, allocations: 497.4 kB / 445.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3711, allocations: 1.812 kB / 445.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.3716, allocations: 238.6 kB / 445.8 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3719, allocations: 52.41 kB / 445.9 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.3752, allocations: 0.9655 MB / 446.9 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.3756, allocations: 0.7591 MB / 447.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.3757, allocations: 25.03 kB / 447.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3757, allocations: 0 / 447.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Templates: time 0.008192/0.3839, allocations: 4.798 MB / 452.4 MB, free: 14.59 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.642526003997773]