Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.00131/0.00131, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001575/0.001575, allocations: 212.3 kB / 23.72 MB, free: 4.531 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.61/1.61, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3512, allocations: 53.38 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004465/0.3557, allocations: 2.757 MB / 434.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3571, allocations: 0.7207 MB / 435.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.3573, allocations: 7.938 kB / 435.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.3575, allocations: 51.5 kB / 435.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.3577, allocations: 103.2 kB / 435.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.358, allocations: 123.8 kB / 435.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.3585, allocations: 418.4 kB / 435.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.3588, allocations: 95.31 kB / 435.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3589, allocations: 155.4 kB / 436 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.3592, allocations: 171.2 kB / 436.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.3592, allocations: 44 kB / 436.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.3593, allocations: 40 kB / 436.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.3594, allocations: 87.67 kB / 436.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3595, allocations: 135.4 kB / 436.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.3601, allocations: 456.9 kB / 436.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3601, allocations: 8 kB / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3601, allocations: 0 / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3601, allocations: 0 / 436.9 MB, free: 1.395 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.001356/0.3614, allocations: 0.613 MB / 437.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3615, allocations: 8.031 kB / 437.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.3616, allocations: 36.7 kB / 437.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.362, allocations: 257.8 kB / 437.9 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.362, allocations: 12.88 kB / 437.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.3621, allocations: 28.38 kB / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.363, allocations: 386.3 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.363, allocations: 0 / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.3631, allocations: 8 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3631, allocations: 11.98 kB / 438.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.3639, allocations: 285.8 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.3658, allocations: 0.972 MB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/0.3666, allocations: 242.5 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.3671, allocations: 104.8 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.3671, allocations: 0 / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/0.3677, allocations: 241.2 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.3677, allocations: 0 / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00248/0.3702, allocations: 0.5838 MB / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.3703, allocations: 106.8 kB / 440.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.3707, allocations: 274 kB / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.3707, allocations: 29.7 kB / 441.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.371, allocations: 211.9 kB / 441.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.3711, allocations: 39.67 kB / 441.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.3712, allocations: 53.89 kB / 441.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.3715, allocations: 334.8 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.3719, allocations: 138.1 kB / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.3724, allocations: 286.9 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.3732, allocations: 310.4 kB / 442.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3732, allocations: 0 / 442.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001425/0.3746, allocations: 0.4974 MB / 442.9 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.735e-05/0.3747, allocations: 33.7 kB / 443 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3747, allocations: 0 / 443 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.3752, allocations: 84.86 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3754, allocations: 51.91 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.3785, allocations: 1.852 MB / 445 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.3789, allocations: 55.77 kB / 445 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.3789, allocations: 12.12 kB / 445 MB, free: 8.805 MB / 350.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.0003257/0.3792, allocations: 149.7 kB / 445.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.3793, allocations: 23.86 kB / 445.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.039e-05/0.3793, allocations: 33.83 kB / 445.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3794, allocations: 0 / 445.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.3794, allocations: 0 / 445.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3794, allocations: 0 / 445.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3797, allocations: 229.1 kB / 445.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3797, allocations: 0 / 445.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3798, allocations: 27.97 kB / 445.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003015/0.3801, allocations: 80.8 kB / 445.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3802, allocations: 0 / 445.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.3829, allocations: 1.671 MB / 447.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3829, allocations: 0 / 447.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.3842, allocations: 376.5 kB / 447.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.3843, allocations: 23.84 kB / 447.6 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.3843, allocations: 8 kB / 447.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3845, allocations: 31.97 kB / 447.7 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.3847, allocations: 19.95 kB / 447.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3847, allocations: 11.94 kB / 447.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.3849, allocations: 185.2 kB / 447.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3849, allocations: 3.938 kB / 447.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.3855, allocations: 87.78 kB / 448 MB, free: 5.699 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.0002423/0.3857, allocations: 103.2 kB / 448.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.387, allocations: 444.1 kB / 448.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.387, allocations: 0 / 448.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.3876, allocations: 238.6 kB / 448.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.388, allocations: 62.16 kB / 448.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3893, allocations: 484.4 kB / 449.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.3894, allocations: 150.9 kB / 449.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.3895, allocations: 22.28 kB / 449.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.3896, allocations: 23.44 kB / 449.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3896, allocations: 0 / 449.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of Templates: time 0.01023/0.3998, allocations: 4.475 MB / 453.9 MB, free: 15.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.828192060813308]