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.0007706/0.0007706, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002066, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007397/0.0007397, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.00176, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.946/0.946, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08466/1.031, allocations: 53.68 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.296e-06/9.709e-06, allocations: 2.312 kB / 244.8 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.002697/0.002707, allocations: 2.982 MB / 247.7 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.00348, allocations: 0.7865 MB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.003579, allocations: 4 kB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.857e-05/0.003668, allocations: 47.5 kB / 248.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.003794, allocations: 111.1 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.00395, allocations: 115.8 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.004257, allocations: 430.2 kB / 249.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.0044, allocations: 94.27 kB / 249.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.004621, allocations: 272 kB / 249.6 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.004762, allocations: 131.7 kB / 249.7 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.004805, allocations: 40 kB / 249.7 MB, free: 9.172 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.001e-05/0.004845, allocations: 40 kB / 249.8 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.004892, allocations: 59.81 kB / 249.8 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.004971, allocations: 99.81 kB / 249.9 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005194, allocations: 247.1 kB / 250.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.005204, allocations: 0 / 250.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005204, allocations: 0 / 250.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.005213, allocations: 0 / 250.2 MB, free: 8.734 MB / 250.7 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.0006986/0.005911, allocations: 0.6192 MB / 250.8 MB, free: 8.082 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.005939, allocations: 12.03 kB / 250.8 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.005998, allocations: 44.89 kB / 250.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.006201, allocations: 201.2 kB / 251 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.006217, allocations: 16.88 kB / 251.1 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.006245, allocations: 28.38 kB / 251.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.006516, allocations: 287.3 kB / 251.4 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.006527, allocations: 8.125 kB / 251.4 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.006543, allocations: 8.375 kB / 251.4 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.006551, allocations: 11.94 kB / 251.4 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.137e-05/0.006642, allocations: 63.47 kB / 251.5 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.007446, allocations: 0.799 MB / 252.3 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.007614, allocations: 102.5 kB / 252.4 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.00765, allocations: 33 kB / 252.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.007666, allocations: 0 / 252.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.007807, allocations: 161.2 kB / 252.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.22e-07/0.007808, allocations: 0 / 252.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005043/0.008312, allocations: 270.1 kB / 252.8 MB, free: 5.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.008339, allocations: 55.41 kB / 252.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.008469, allocations: 244.9 kB / 253.1 MB, free: 5.594 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.008487, allocations: 29.7 kB / 253.1 MB, free: 5.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.008558, allocations: 187.9 kB / 253.3 MB, free: 5.367 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.008582, allocations: 47.62 kB / 253.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.008634, allocations: 49.91 kB / 253.4 MB, free: 5.262 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.008711, allocations: 338.8 kB / 253.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.008754, allocations: 54.17 kB / 253.8 MB, free: 4.863 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.249e-05/0.008847, allocations: 194 kB / 254 MB, free: 4.613 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.008967, allocations: 178.2 kB / 254.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.00897, allocations: 3.984 kB / 254.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002561/0.009226, allocations: 265.7 kB / 254.4 MB, free: 4.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.009255, allocations: 41.75 kB / 254.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.009259, allocations: 0 / 254.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.009456, allocations: 84.78 kB / 254.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.009549, allocations: 47.91 kB / 254.6 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007867/0.01034, allocations: 1.449 MB / 256 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01045, allocations: 51.84 kB / 256.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.01046, allocations: 8 kB / 256.1 MB, free: 2.34 MB / 250.7 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 7.374e-05/0.01053, allocations: 129.8 kB / 256.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.01055, allocations: 15.92 kB / 256.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.01058, allocations: 33.7 kB / 256.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.01058, allocations: 0 / 256.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-07/0.01058, allocations: 0 / 256.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01058, allocations: 8 kB / 256.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.01069, allocations: 145.7 kB / 256.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01069, allocations: 0 / 256.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.01073, allocations: 19.98 kB / 256.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.01075, allocations: 19.8 kB / 256.5 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.01089, allocations: 72.73 kB / 256.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.0109, allocations: 8 kB / 256.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006353/0.01154, allocations: 1.292 MB / 257.8 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01154, allocations: 3.984 kB / 257.8 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.01171, allocations: 161.8 kB / 258 MB, free: 316 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01173, allocations: 8 kB / 258 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.0118, allocations: 24.02 kB / 258 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.01184, allocations: 15.97 kB / 258 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.01185, allocations: 3.984 kB / 258 MB, free: 264 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.0119, allocations: 86.77 kB / 258.1 MB, free: 172 kB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0119, allocations: 0 / 258.1 MB, free: 172 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.0121, allocations: 87.78 kB / 258.2 MB, free: 84 kB / 250.7 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 8.674e-05/0.01219, allocations: 84.41 kB / 258.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.01245, allocations: 311.7 kB / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.01246, allocations: 0 / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.01258, allocations: 179.3 kB / 258.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01284, allocations: 464 kB / 259.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.01428, allocations: 461.5 kB / 259.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.01432, allocations: 92.03 kB / 259.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.1e-05/0.01438, allocations: 22.3 kB / 259.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.0145, allocations: 107.3 kB / 259.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0145, allocations: 0 / 259.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Templates: time 0.005575/0.02008, allocations: 4.545 MB / 264.4 MB, free: 9.742 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6171857798472047]