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.001824/0.001824, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002301/0.002301, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001638/0.001638, allocations: 51.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2539, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004515/0.2584, allocations: 2.762 MB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.26, allocations: 0.7169 MB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.2601, allocations: 7.938 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.2603, allocations: 55.44 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.2605, allocations: 107.2 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.2608, allocations: 127.8 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004658/0.2613, allocations: 410.4 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.2615, allocations: 94.61 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.2617, allocations: 155.4 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.2619, allocations: 147.3 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.262, allocations: 40 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-05/0.262, allocations: 44 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.2621, allocations: 79.69 kB / 437.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.2623, allocations: 155.3 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.2628, allocations: 454 kB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2628, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2628, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2628, allocations: 0 / 437.7 MB, free: 1.371 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.001348/0.2642, allocations: 0.6014 MB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2642, allocations: 12.03 kB / 438.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.2643, allocations: 36.7 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.2647, allocations: 253.8 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.2648, allocations: 24.88 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.2648, allocations: 24.38 kB / 438.6 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.2656, allocations: 378.4 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2656, allocations: 0 / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.2656, allocations: 12 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2656, allocations: 4 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.2664, allocations: 285.8 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.2683, allocations: 0.9836 MB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.2691, allocations: 242.6 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.2694, allocations: 104.8 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2694, allocations: 0 / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005182/0.27, allocations: 233.2 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.27, allocations: 4 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002366/0.2723, allocations: 0.5909 MB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.2724, allocations: 102.8 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.2727, allocations: 281.8 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.2728, allocations: 29.7 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.2729, allocations: 204 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.273, allocations: 47.62 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.2731, allocations: 53.89 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2732, allocations: 334.8 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.2736, allocations: 133.9 kB / 442.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.2741, allocations: 299 kB / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.2748, allocations: 320.6 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2748, allocations: 0 / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001324/0.2761, allocations: 0.508 MB / 443.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.2762, allocations: 33.7 kB / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.2762, allocations: 0 / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003956/0.2766, allocations: 88.8 kB / 443.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.2768, allocations: 55.95 kB / 443.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.2798, allocations: 1.922 MB / 445.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2802, allocations: 55.75 kB / 445.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2802, allocations: 12.28 kB / 445.9 MB, free: 8.668 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.0001842/0.2804, allocations: 161.2 kB / 446 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.2804, allocations: 23.8 kB / 446.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.2805, allocations: 29.77 kB / 446.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2805, allocations: 0 / 446.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.2805, allocations: 0 / 446.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2805, allocations: 0 / 446.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.2807, allocations: 225 kB / 446.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2807, allocations: 0 / 446.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.2809, allocations: 27.97 kB / 446.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.2812, allocations: 76.94 kB / 446.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.2812, allocations: 7.984 kB / 446.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.2837, allocations: 1.836 MB / 448.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2837, allocations: 0 / 448.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2848, allocations: 365.6 kB / 448.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.2849, allocations: 31.83 kB / 448.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.2849, allocations: 7.984 kB / 448.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.2852, allocations: 35.95 kB / 448.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.2853, allocations: 15.97 kB / 448.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.2853, allocations: 4 kB / 448.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.2855, allocations: 197.2 kB / 448.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2855, allocations: 3.938 kB / 448.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004511/0.2859, allocations: 83.84 kB / 449 MB, free: 5.398 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.0001407/0.2861, allocations: 103.2 kB / 449.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.2875, allocations: 0.504 MB / 449.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2875, allocations: 4 kB / 449.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.288, allocations: 238.4 kB / 449.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.2883, allocations: 59.33 kB / 449.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.2916, allocations: 0.9546 MB / 450.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2917, allocations: 146.9 kB / 451 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.2918, allocations: 27.44 kB / 451 MB, free: 3.273 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2918, allocations: 0 / 451 MB, free: 3.273 MB / 350.1 MB Notification: Performance of Templates: time 0.007612/0.2994, allocations: 4.811 MB / 455.8 MB, free: 14.48 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.435301079880446]