Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001162/0.001162, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001929/0.003091, allocations: 453.8 kB / 10.46 MB, free: 236 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.001214/0.001214, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001717/0.00293, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9617/0.9617, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1467/1.108, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.831e-05, allocations: 5.406 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003227/0.003245, allocations: 2.779 MB / 224.8 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.005396, allocations: 0.694 MB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.005521, allocations: 4 kB / 225.5 MB, free: 12.53 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.00563, allocations: 51.5 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.005798, allocations: 95.19 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.005981, allocations: 87.81 kB / 225.7 MB, free: 12.3 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.006352, allocations: 386.3 kB / 226.1 MB, free: 11.92 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.00652, allocations: 89.97 kB / 226.2 MB, free: 11.84 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.006808, allocations: 264 kB / 226.4 MB, free: 11.58 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.006982, allocations: 123.6 kB / 226.6 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.007034, allocations: 36 kB / 226.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.007082, allocations: 36 kB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.007136, allocations: 55.81 kB / 226.7 MB, free: 11.33 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.007235, allocations: 99.81 kB / 226.8 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.007501, allocations: 219.2 kB / 227 MB, free: 11.02 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.007513, allocations: 0 / 227 MB, free: 11.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007513, allocations: 0 / 227 MB, free: 11.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.007523, allocations: 0 / 227 MB, free: 11.02 MB / 234.7 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.0008395/0.008363, allocations: 0.5959 MB / 227.6 MB, free: 10.39 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.008398, allocations: 12.03 kB / 227.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.00847, allocations: 44.84 kB / 227.6 MB, free: 10.34 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.00869, allocations: 178.2 kB / 227.8 MB, free: 10.14 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.00871, allocations: 16.88 kB / 227.8 MB, free: 10.12 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.008745, allocations: 28.38 kB / 227.9 MB, free: 10.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.009082, allocations: 279.3 kB / 228.1 MB, free: 9.793 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.009094, allocations: 4.172 kB / 228.1 MB, free: 9.789 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.009113, allocations: 12.38 kB / 228.1 MB, free: 9.777 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.009125, allocations: 11.94 kB / 228.2 MB, free: 9.766 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.009261, allocations: 73.41 kB / 228.2 MB, free: 9.695 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.0102, allocations: 0.7974 MB / 229 MB, free: 8.836 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.01037, allocations: 86.45 kB / 229.1 MB, free: 8.742 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.01041, allocations: 24.86 kB / 229.1 MB, free: 8.715 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.01043, allocations: 0 / 229.1 MB, free: 8.715 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.01061, allocations: 165.3 kB / 229.3 MB, free: 8.52 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.01061, allocations: 0 / 229.3 MB, free: 8.52 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006489/0.01126, allocations: 206.2 kB / 229.5 MB, free: 8.309 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.0113, allocations: 55.41 kB / 229.6 MB, free: 8.242 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01148, allocations: 240.9 kB / 229.8 MB, free: 7.996 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.0115, allocations: 29.7 kB / 229.8 MB, free: 7.961 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01161, allocations: 199.7 kB / 230 MB, free: 7.758 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.01164, allocations: 39.67 kB / 230.1 MB, free: 7.719 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.01171, allocations: 49.92 kB / 230.1 MB, free: 7.664 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.01182, allocations: 334.8 kB / 230.4 MB, free: 7.328 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.01188, allocations: 49.92 kB / 230.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.01202, allocations: 215.2 kB / 230.7 MB, free: 6.996 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.01221, allocations: 201.4 kB / 230.9 MB, free: 6.75 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01221, allocations: 0 / 230.9 MB, free: 6.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003666/0.01258, allocations: 267.7 kB / 231.1 MB, free: 6.469 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.01262, allocations: 29.7 kB / 231.2 MB, free: 6.434 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.01263, allocations: 4 kB / 231.2 MB, free: 6.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.0129, allocations: 80.83 kB / 231.3 MB, free: 6.348 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.01303, allocations: 39.98 kB / 231.3 MB, free: 6.309 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.01406, allocations: 1.327 MB / 232.6 MB, free: 4.895 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.01423, allocations: 39.83 kB / 232.7 MB, free: 4.855 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.01425, allocations: 11.94 kB / 232.7 MB, free: 4.844 MB / 234.7 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 9.253e-05/0.01434, allocations: 133.8 kB / 232.8 MB, free: 4.703 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.01437, allocations: 11.98 kB / 232.8 MB, free: 4.691 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.0144, allocations: 29.77 kB / 232.8 MB, free: 4.668 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01441, allocations: 3.938 kB / 232.8 MB, free: 4.664 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.01441, allocations: 0 / 232.8 MB, free: 4.664 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01441, allocations: 0 / 232.8 MB, free: 4.664 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.01454, allocations: 133.8 kB / 233 MB, free: 4.516 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01454, allocations: 0 / 233 MB, free: 4.516 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.01459, allocations: 15.98 kB / 233 MB, free: 4.5 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.01464, allocations: 31.78 kB / 233 MB, free: 4.469 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/0.01483, allocations: 60.8 kB / 233.1 MB, free: 4.406 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01484, allocations: 4 kB / 233.1 MB, free: 4.402 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000838/0.01567, allocations: 1.292 MB / 234.4 MB, free: 3.023 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01568, allocations: 4 kB / 234.4 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.01591, allocations: 150.2 kB / 234.5 MB, free: 2.852 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.01593, allocations: 4 kB / 234.5 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.74e-05/0.01603, allocations: 19.98 kB / 234.6 MB, free: 2.828 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.01609, allocations: 19.95 kB / 234.6 MB, free: 2.809 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.0161, allocations: 15.88 kB / 234.6 MB, free: 2.793 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.661e-05/0.01618, allocations: 74.78 kB / 234.7 MB, free: 2.715 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01618, allocations: 4 kB / 234.7 MB, free: 2.711 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.01645, allocations: 83.83 kB / 234.8 MB, free: 2.629 MB / 234.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 (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 9.645e-05/0.01655, allocations: 88.34 kB / 234.8 MB, free: 2.535 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.0169, allocations: 313.2 kB / 235.1 MB, free: 2.199 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.01691, allocations: 12.19 kB / 235.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.01707, allocations: 179.3 kB / 235.3 MB, free: 1.996 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01737, allocations: 400 kB / 235.7 MB, free: 1.531 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.01928, allocations: 445.2 kB / 236.2 MB, free: 1.066 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.01933, allocations: 88.17 kB / 236.2 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 7.825e-05/0.01941, allocations: 22.3 kB / 236.3 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.01954, allocations: 99.28 kB / 236.4 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01954, allocations: 4 kB / 236.4 MB, free: 0.832 MB / 234.7 MB Notification: Performance of Templates: time 0.006431/0.02598, allocations: 4.405 MB / 240.8 MB, free: 12.45 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.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.7174461418762803]