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.001357/0.001357, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001523/0.001523, allocations: 148.2 kB / 24.89 MB, free: 8.793 MB / 18.57 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 0.9647/0.9647, allocations: 173.4 MB / 201.5 MB, free: 9.152 MB / 186.7 MB " [Timeout remaining time 179] 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 1.563e-06/1.563e-06, allocations: 0 / 268.5 MB, free: 6.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.544e-05, allocations: 6.25 kB / 268.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004585/0.004611, allocations: 2.818 MB / 271.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.006036, allocations: 0.6386 MB / 272 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.006211, allocations: 8 kB / 272 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.006381, allocations: 55.5 kB / 272 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.006623, allocations: 91.14 kB / 272.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.006967, allocations: 87.81 kB / 272.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.007446, allocations: 390.3 kB / 272.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.007641, allocations: 89.95 kB / 272.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.00794, allocations: 223.4 kB / 272.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.008151, allocations: 127.6 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.008211, allocations: 36 kB / 273.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.927e-05/0.00826, allocations: 32 kB / 273.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.008326, allocations: 75.69 kB / 273.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.008458, allocations: 115.7 kB / 273.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.008799, allocations: 251.1 kB / 273.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.008804, allocations: 0 / 273.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008805, allocations: 0 / 273.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.008811, allocations: 0 / 273.5 MB, free: 1.059 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009066/0.009718, allocations: 0.5415 MB / 274.1 MB, free: 496 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.009765, allocations: 12.92 kB / 274.1 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.525e-05/0.00985, allocations: 40.91 kB / 274.1 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.01013, allocations: 186.1 kB / 274.3 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.01016, allocations: 16.88 kB / 274.3 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.0102, allocations: 36.36 kB / 274.4 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.01062, allocations: 271.4 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01063, allocations: 192 / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.01066, allocations: 8.375 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.01067, allocations: 11.94 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.01085, allocations: 77.34 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.01208, allocations: 0.7936 MB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.01229, allocations: 78.48 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.01235, allocations: 36.78 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.01238, allocations: 4 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.01258, allocations: 165.3 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.01258, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007663/0.01335, allocations: 202.2 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.01341, allocations: 110.8 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.01362, allocations: 240.9 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.01364, allocations: 25.7 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01376, allocations: 199.9 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.01379, allocations: 43.58 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/0.01389, allocations: 53.92 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.014, allocations: 334.8 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.01408, allocations: 53.92 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.01425, allocations: 211.2 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.01445, allocations: 197 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01446, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000436/0.01489, allocations: 265.4 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.01493, allocations: 33.7 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.01495, allocations: 4.406 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/0.01525, allocations: 72.8 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.01541, allocations: 43.91 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.01667, allocations: 1.311 MB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.01692, allocations: 47.8 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.01694, allocations: 8 kB / 279.2 MB, free: 10.88 MB / 266.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 0.0001345/0.01707, allocations: 133.8 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.01711, allocations: 11.98 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.01715, allocations: 25.77 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01715, allocations: 3.938 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01716, allocations: 4 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01716, allocations: 0 / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.01733, allocations: 145.7 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01733, allocations: 0 / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.01739, allocations: 15.98 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.01761, allocations: 60.81 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01762, allocations: 0 / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009947/0.01862, allocations: 1.3 MB / 280.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01862, allocations: 4 kB / 280.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.01889, allocations: 149.7 kB / 281 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.01896, allocations: 27.8 kB / 281.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.01899, allocations: 7.984 kB / 281.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.01911, allocations: 20.02 kB / 281.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.01919, allocations: 19.97 kB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.01919, allocations: 7.984 kB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.01926, allocations: 82.77 kB / 281.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01926, allocations: 0 / 281.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.01947, allocations: 83.83 kB / 281.3 MB, free: 8.652 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 (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.472e-05/0.01956, allocations: 76.42 kB / 281.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.01989, allocations: 324.8 kB / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.0199, allocations: 4 kB / 281.7 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.02003, allocations: 171.2 kB / 281.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.02018, allocations: 49.2 kB / 281.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.0209, allocations: 433.2 kB / 282.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.02094, allocations: 84.31 kB / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.021, allocations: 22.3 kB / 282.4 MB, free: 7.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.02111, allocations: 95.34 kB / 282.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02112, allocations: 0 / 282.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of Templates: time 0.006064/0.02718, allocations: 4.264 MB / 286.8 MB, free: 3.109 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.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.800548661965877]