Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001423/0.001423, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001464/0.001464, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.506/1.506, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.405e-05, allocations: 2.312 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.006695/0.006729, allocations: 2.748 MB / 270.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.008764, allocations: 0.6973 MB / 270.8 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.008949, allocations: 7.938 kB / 270.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.009179, allocations: 47.56 kB / 270.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.009509, allocations: 115 kB / 271 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.009975, allocations: 123.7 kB / 271.1 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007413/0.01072, allocations: 426.2 kB / 271.5 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.01101, allocations: 91.66 kB / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.01145, allocations: 231.5 kB / 271.8 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.01177, allocations: 131.6 kB / 272 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.01214, allocations: 40 kB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.01224, allocations: 40 kB / 272 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.01235, allocations: 75.75 kB / 272.1 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.01259, allocations: 123.7 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007953/0.01338, allocations: 466.6 kB / 272.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01339, allocations: 4 kB / 272.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01339, allocations: 0 / 272.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.0134, allocations: 7.938 kB / 272.7 MB, free: 1.305 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.001946/0.01534, allocations: 0.6013 MB / 273.3 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.01539, allocations: 8.031 kB / 273.3 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.01558, allocations: 60.73 kB / 273.4 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.01622, allocations: 249.2 kB / 273.6 MB, free: 336 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.01625, allocations: 16.88 kB / 273.6 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.01633, allocations: 28.38 kB / 273.7 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.01749, allocations: 378.7 kB / 274 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.01751, allocations: 4.188 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.01755, allocations: 8.375 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.01757, allocations: 11.94 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.01881, allocations: 281.8 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.02175, allocations: 0.9921 MB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.02306, allocations: 238.5 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/0.02358, allocations: 100.8 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.02361, allocations: 4 kB / 275.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007698/0.02438, allocations: 237.3 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.02438, allocations: 0 / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.003542/0.02792, allocations: 0.5915 MB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.02804, allocations: 103 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.02858, allocations: 273.8 kB / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.02863, allocations: 33.64 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.02889, allocations: 208 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.02896, allocations: 47.59 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.02912, allocations: 49.89 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002868/0.02941, allocations: 338.8 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.03003, allocations: 138.1 kB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.03077, allocations: 278 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.03187, allocations: 318.4 kB / 278.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.03188, allocations: 4 kB / 278.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001976/0.03385, allocations: 0.5013 MB / 278.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/0.03392, allocations: 37.69 kB / 278.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.03393, allocations: 0 / 278.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.03493, allocations: 140.8 kB / 278.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.03551, allocations: 47.91 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/0.03997, allocations: 1.856 MB / 280.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.04053, allocations: 59.8 kB / 280.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.04057, allocations: 8 kB / 280.9 MB, free: 8.621 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 0.0002973/0.04087, allocations: 153.3 kB / 281 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.04095, allocations: 31.8 kB / 281.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.039e-05/0.04102, allocations: 21.77 kB / 281.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.04103, allocations: 4 kB / 281.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.04103, allocations: 4 kB / 281.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.04104, allocations: 0 / 281.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.04146, allocations: 217.1 kB / 281.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.04146, allocations: 4 kB / 281.3 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.04167, allocations: 23.97 kB / 281.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008672/0.04254, allocations: 140.6 kB / 281.5 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.04256, allocations: 12.12 kB / 281.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/0.04622, allocations: 1.671 MB / 283.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.04622, allocations: 48 / 283.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.0479, allocations: 373.4 kB / 283.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.04798, allocations: 31.78 kB / 283.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.04804, allocations: 3.938 kB / 283.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.04842, allocations: 35.95 kB / 283.6 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.04853, allocations: 19.97 kB / 283.6 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.04855, allocations: 4 kB / 283.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003273/0.04888, allocations: 201.1 kB / 283.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04888, allocations: 0 / 283.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006641/0.04954, allocations: 83.84 kB / 283.9 MB, free: 5.453 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 0.0001874/0.04973, allocations: 95.25 kB / 284 MB, free: 5.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.05128, allocations: 455.4 kB / 284.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.05128, allocations: 4 kB / 284.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.05201, allocations: 239.1 kB / 284.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.05249, allocations: 44.61 kB / 284.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.05402, allocations: 481.3 kB / 285.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.05423, allocations: 150.8 kB / 285.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.05439, allocations: 26.28 kB / 285.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.05448, allocations: 24.5 kB / 285.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.05449, allocations: 0 / 285.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of Templates: time 0.1158/0.1702, allocations: 4.088 MB / 289.5 MB, free: 32.74 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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: 4.647232060087845]