Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001778/0.001778, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002061/0.002061, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.481/1.481, allocations: 225.7 MB / 253.3 MB, free: 12.84 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 55.86 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2429, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004192/0.2471, allocations: 2.612 MB / 426.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2483, allocations: 0.619 MB / 427.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2484, allocations: 11.94 kB / 427.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2486, allocations: 47.5 kB / 427.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.2488, allocations: 91.2 kB / 427.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.249, allocations: 91.88 kB / 427.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.2495, allocations: 374.5 kB / 427.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.2497, allocations: 79.36 kB / 427.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.2499, allocations: 151.4 kB / 427.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2501, allocations: 151.3 kB / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.2501, allocations: 36 kB / 428.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.2502, allocations: 36 kB / 428.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.2503, allocations: 71.7 kB / 428.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.2504, allocations: 135.4 kB / 428.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.2509, allocations: 377.5 kB / 428.7 MB, free: 9.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2509, allocations: 3.984 kB / 428.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2509, allocations: 4 kB / 428.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.2509, allocations: 3.938 kB / 428.7 MB, free: 9.617 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.001345/0.2523, allocations: 0.5819 MB / 429.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2523, allocations: 8.031 kB / 429.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/0.2524, allocations: 32.75 kB / 429.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.2528, allocations: 211 kB / 429.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2528, allocations: 20.88 kB / 429.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.2528, allocations: 32.36 kB / 429.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.2536, allocations: 358.2 kB / 429.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2536, allocations: 0 / 429.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.2536, allocations: 8 kB / 429.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2537, allocations: 8 kB / 429.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/0.2545, allocations: 245.6 kB / 430.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.2562, allocations: 0.9385 MB / 431.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008408/0.257, allocations: 210.5 kB / 431.3 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.2574, allocations: 88.78 kB / 431.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2574, allocations: 0 / 431.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005119/0.2579, allocations: 225.2 kB / 431.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.2579, allocations: 3.938 kB / 431.6 MB, free: 6.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002129/0.26, allocations: 433.9 kB / 432.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.2601, allocations: 110.8 kB / 432.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.2604, allocations: 261 kB / 432.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.2605, allocations: 37.7 kB / 432.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.2606, allocations: 204 kB / 432.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.2607, allocations: 43.62 kB / 432.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.2608, allocations: 53.94 kB / 432.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.261, allocations: 334.8 kB / 433.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.2613, allocations: 117.9 kB / 433.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.2618, allocations: 287.2 kB / 433.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007417/0.2626, allocations: 301.4 kB / 433.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2626, allocations: 0 / 433.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001284/0.2639, allocations: 453.5 kB / 434.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.2639, allocations: 33.7 kB / 434.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2639, allocations: 4 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/0.2643, allocations: 80.88 kB / 434.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2645, allocations: 47.84 kB / 434.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.2671, allocations: 1.577 MB / 435.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.2675, allocations: 47.75 kB / 436 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.2675, allocations: 16 kB / 436 MB, free: 1.75 MB / 334.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.0001746/0.2677, allocations: 153.8 kB / 436.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.2677, allocations: 19.86 kB / 436.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.2678, allocations: 21.72 kB / 436.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2678, allocations: 0 / 436.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.2678, allocations: 0 / 436.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2678, allocations: 3.984 kB / 436.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.268, allocations: 209.1 kB / 436.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.268, allocations: 3.938 kB / 436.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2682, allocations: 15.98 kB / 436.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.2684, allocations: 68.8 kB / 436.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2684, allocations: 4 kB / 436.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.2708, allocations: 1.574 MB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2708, allocations: 0 / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.2719, allocations: 313.5 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.272, allocations: 35.72 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.2721, allocations: 7.984 kB / 438.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2723, allocations: 31.97 kB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.2724, allocations: 27.91 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2724, allocations: 3.984 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.2726, allocations: 188.4 kB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2726, allocations: 0 / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000375/0.273, allocations: 75.89 kB / 438.7 MB, free: 14.85 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.0001345/0.2731, allocations: 103.2 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.2742, allocations: 438.9 kB / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2742, allocations: 0.8125 kB / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.2747, allocations: 223.1 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.275, allocations: 39.7 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2761, allocations: 486.2 kB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.2762, allocations: 150.8 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.2763, allocations: 23.44 kB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2763, allocations: 0 / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Templates: time 0.007185/0.2835, allocations: 4.424 MB / 444.6 MB, free: 8.902 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.342551629990339]