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.001349/0.001349, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001358/0.001358, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 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.8607/0.8607, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.432e-06/1.432e-06, allocations: 0 / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.162e-05, allocations: 6.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.002571/0.002583, allocations: 2.927 MB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009438/0.003527, allocations: 0.7671 MB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003629, allocations: 4 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.003744, allocations: 51.44 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003875, allocations: 111.1 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.004067, allocations: 123.7 kB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.004357, allocations: 430.2 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.00449, allocations: 90.28 kB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.004667, allocations: 231.5 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.004798, allocations: 139.6 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.004837, allocations: 40 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.004871, allocations: 44 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.004923, allocations: 83.67 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.005009, allocations: 119.7 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.005234, allocations: 267 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.005235, allocations: 0 / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005236, allocations: 0 / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.005239, allocations: 0 / 278.9 MB, free: 11.82 MB / 266.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.0006227/0.005862, allocations: 0.561 MB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.005888, allocations: 8.031 kB / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.005943, allocations: 48.91 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.006138, allocations: 193.2 kB / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.006154, allocations: 24.81 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.006181, allocations: 24.38 kB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.006451, allocations: 295.3 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00646, allocations: 192 / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.006478, allocations: 12.38 kB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.006484, allocations: 7.938 kB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.006575, allocations: 63.47 kB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.007374, allocations: 0.8029 MB / 280.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.007542, allocations: 98.34 kB / 281 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.007581, allocations: 36.84 kB / 281 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.007594, allocations: 0 / 281 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.00773, allocations: 161.3 kB / 281.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.007731, allocations: 0 / 281.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000519/0.00825, allocations: 254.2 kB / 281.4 MB, free: 9.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.008294, allocations: 114.8 kB / 281.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.008427, allocations: 244.9 kB / 281.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.008445, allocations: 33.7 kB / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.008517, allocations: 187.9 kB / 282 MB, free: 8.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.008542, allocations: 43.64 kB / 282.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.008594, allocations: 49.91 kB / 282.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.008667, allocations: 338.8 kB / 282.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.008709, allocations: 46.16 kB / 282.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/0.008798, allocations: 194 kB / 282.7 MB, free: 7.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.008911, allocations: 177.7 kB / 282.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008912, allocations: 0 / 282.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000254/0.009166, allocations: 275.9 kB / 283.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.009188, allocations: 33.7 kB / 283.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.009193, allocations: 4 kB / 283.1 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.009385, allocations: 73.14 kB / 283.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.00947, allocations: 43.92 kB / 283.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00083/0.0103, allocations: 1.457 MB / 284.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.01042, allocations: 43.77 kB / 284.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.01043, allocations: 16.03 kB / 284.8 MB, free: 5.441 MB / 266.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.398e-05/0.0105, allocations: 121.8 kB / 284.9 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.01053, allocations: 28 kB / 284.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.01055, allocations: 25.7 kB / 284.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.01055, allocations: 0 / 284.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-07/0.01055, allocations: 4 kB / 285 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01056, allocations: 0 / 285 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.01066, allocations: 145.7 kB / 285.1 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01066, allocations: 224 / 285.1 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.0107, allocations: 23.98 kB / 285.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.01084, allocations: 76.73 kB / 285.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.01084, allocations: 0 / 285.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006048/0.01145, allocations: 1.292 MB / 286.5 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01145, allocations: 3.938 kB / 286.5 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.01162, allocations: 165.7 kB / 286.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.01165, allocations: 19.86 kB / 286.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01166, allocations: 0 / 286.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.01174, allocations: 23.98 kB / 286.7 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.01178, allocations: 23.95 kB / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-06/0.01178, allocations: 0 / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.581e-05/0.01184, allocations: 86.77 kB / 286.8 MB, free: 3.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01184, allocations: 4 kB / 286.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.01204, allocations: 79.77 kB / 286.9 MB, free: 3.199 MB / 266.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 6.204e-05/0.0121, allocations: 88.41 kB / 287 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.01234, allocations: 303.5 kB / 287.3 MB, free: 2.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.01235, allocations: 4.688 kB / 287.3 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01245, allocations: 171.3 kB / 287.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.01258, allocations: 48.52 kB / 287.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.01316, allocations: 453.3 kB / 287.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.962e-05/0.0132, allocations: 84.17 kB / 288 MB, free: 1.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.713e-05/0.01326, allocations: 22.3 kB / 288 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.01338, allocations: 107.3 kB / 288.1 MB, free: 1.844 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01338, allocations: 0 / 288.1 MB, free: 1.844 MB / 266.7 MB Notification: Performance of Templates: time 0.005345/0.01872, allocations: 4.309 MB / 292.4 MB, free: 13.62 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5828834921121597]