Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0017/0.0017, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.002104/0.002104, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.437/1.437, allocations: 225.6 MB / 253.3 MB, free: 13 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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 51.92 kB / 371.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2612, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004329/0.2655, allocations: 2.967 MB / 426.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2668, allocations: 0.7401 MB / 427.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.267, allocations: 8 kB / 427.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.2671, allocations: 51.5 kB / 427.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.2673, allocations: 103.2 kB / 427.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.2676, allocations: 115.8 kB / 427.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004922/0.2681, allocations: 422.4 kB / 428.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.2683, allocations: 91.69 kB / 428.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.2686, allocations: 163.4 kB / 428.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.2688, allocations: 163.4 kB / 428.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.2688, allocations: 40 kB / 428.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.2689, allocations: 43.94 kB / 428.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.269, allocations: 79.75 kB / 428.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.2692, allocations: 179.1 kB / 429 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.2697, allocations: 455.5 kB / 429.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2697, allocations: 4 kB / 429.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2697, allocations: 0 / 429.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.2697, allocations: 0 / 429.5 MB, free: 9.078 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.001328/0.271, allocations: 0.6053 MB / 430.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2711, allocations: 11.97 kB / 430.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.2712, allocations: 36.75 kB / 430.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.2716, allocations: 241.8 kB / 430.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.2716, allocations: 20.88 kB / 430.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.2716, allocations: 24.38 kB / 430.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.2724, allocations: 331 kB / 430.7 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2724, allocations: 3.938 kB / 430.7 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2724, allocations: 8 kB / 430.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2724, allocations: 8 kB / 430.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/0.2732, allocations: 285.8 kB / 431 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.2752, allocations: 1.116 MB / 432.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/0.276, allocations: 234.5 kB / 432.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.2764, allocations: 100.8 kB / 432.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.2764, allocations: 4 kB / 432.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.2768, allocations: 177.9 kB / 432.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2768, allocations: 0 / 432.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002333/0.2792, allocations: 0.5916 MB / 433.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.2793, allocations: 106.8 kB / 433.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.2796, allocations: 289.8 kB / 433.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.2796, allocations: 33.7 kB / 433.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.2798, allocations: 192.1 kB / 433.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.2798, allocations: 55.56 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.446e-05/0.2799, allocations: 49.94 kB / 434 MB, free: 4.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2801, allocations: 334.8 kB / 434.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.2804, allocations: 108.1 kB / 434.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.2809, allocations: 214.4 kB / 434.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.2816, allocations: 324 kB / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2816, allocations: 0 / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001282/0.2829, allocations: 487.7 kB / 435.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.2829, allocations: 29.7 kB / 435.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.283, allocations: 4 kB / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.2833, allocations: 92.84 kB / 435.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2836, allocations: 51.89 kB / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.2867, allocations: 1.95 MB / 437.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.287, allocations: 51.88 kB / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.287, allocations: 19.98 kB / 437.6 MB, free: 500 kB / 334.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.0001729/0.2872, allocations: 157.8 kB / 437.7 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.2872, allocations: 27.81 kB / 437.8 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.2873, allocations: 25.7 kB / 437.8 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2873, allocations: 4 kB / 437.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2873, allocations: 0 / 437.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2873, allocations: 128 / 437.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.2876, allocations: 312.4 kB / 438.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2876, allocations: 0 / 438.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.2878, allocations: 19.98 kB / 438.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.2881, allocations: 92.77 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2881, allocations: 0 / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.2907, allocations: 1.882 MB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2907, allocations: 0 / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2918, allocations: 365.6 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.2919, allocations: 27.84 kB / 440.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.2919, allocations: 0 / 440.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.2922, allocations: 39.89 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.2922, allocations: 20.09 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.2923, allocations: 12 kB / 440.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.2925, allocations: 201.2 kB / 440.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2925, allocations: 0 / 440.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.2929, allocations: 75.89 kB / 440.8 MB, free: 13.06 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.0001257/0.293, allocations: 102.6 kB / 440.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.2944, allocations: 0.4895 MB / 441.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2944, allocations: 0 / 441.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.2948, allocations: 234.4 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.2952, allocations: 44.41 kB / 441.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.2983, allocations: 0.9778 MB / 442.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.2986, allocations: 0.7558 MB / 443.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.2987, allocations: 19.44 kB / 443.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2987, allocations: 4 kB / 443.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Templates: time 0.007757/0.3065, allocations: 4.795 MB / 448.2 MB, free: 5.559 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.240698064910248]