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.001414/0.001414, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001068/0.001068, allocations: 170.1 kB / 25.33 MB, free: 8.598 MB / 18.57 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.9851/0.9851, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.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 2.044e-06/2.044e-06, allocations: 0 / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/3.004e-05, allocations: 2.312 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003505/0.003535, allocations: 2.755 MB / 253.8 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.004904, allocations: 0.6631 MB / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.005103, allocations: 7.938 kB / 254.5 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.005274, allocations: 47.56 kB / 254.5 MB, free: 4 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.005478, allocations: 103.1 kB / 254.6 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.005865, allocations: 87.75 kB / 254.7 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.00634, allocations: 394.1 kB / 255.1 MB, free: 3.426 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.006548, allocations: 83.31 kB / 255.2 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.006856, allocations: 227.5 kB / 255.4 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.007047, allocations: 115.7 kB / 255.5 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.007099, allocations: 36 kB / 255.6 MB, free: 2.973 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.773e-05/0.007147, allocations: 36 kB / 255.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.007217, allocations: 79.69 kB / 255.7 MB, free: 2.859 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.007346, allocations: 119.7 kB / 255.8 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.007713, allocations: 243.1 kB / 256 MB, free: 2.504 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.007717, allocations: 4 kB / 256 MB, free: 2.5 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007718, allocations: 0 / 256 MB, free: 2.5 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.007726, allocations: 0 / 256 MB, free: 2.5 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.001054/0.00878, allocations: 0.6701 MB / 256.7 MB, free: 1.789 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.008832, allocations: 8.031 kB / 256.7 MB, free: 1.781 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.00894, allocations: 52.7 kB / 256.8 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.009251, allocations: 213.1 kB / 257 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.009275, allocations: 20.88 kB / 257 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.00931, allocations: 32.3 kB / 257 MB, free: 1.438 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.009696, allocations: 293 kB / 257.3 MB, free: 1.121 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.009708, allocations: 4.188 kB / 257.3 MB, free: 1.117 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.009731, allocations: 12.38 kB / 257.3 MB, free: 1.105 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.009743, allocations: 11.94 kB / 257.3 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.009943, allocations: 102.9 kB / 257.4 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01105, allocations: 1.004 MB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.01129, allocations: 95.19 kB / 258.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.01136, allocations: 39.67 kB / 258.6 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.01139, allocations: 4 kB / 258.6 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.01159, allocations: 171.5 kB / 258.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.0116, allocations: 4 kB / 258.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007044/0.0123, allocations: 257.1 kB / 259 MB, free: 15.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.01236, allocations: 114.8 kB / 259.1 MB, free: 15.15 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.01258, allocations: 300.2 kB / 259.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.0126, allocations: 25.7 kB / 259.4 MB, free: 14.81 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.01273, allocations: 258.7 kB / 259.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.01275, allocations: 39.69 kB / 259.7 MB, free: 14.51 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.01282, allocations: 59.55 kB / 259.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.01296, allocations: 0.4962 MB / 260.3 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.01304, allocations: 69.91 kB / 260.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.0132, allocations: 260.5 kB / 260.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.0134, allocations: 240.9 kB / 260.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01341, allocations: 0 / 260.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004064/0.01381, allocations: 324.4 kB / 261.1 MB, free: 12.89 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.01385, allocations: 33.7 kB / 261.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.01386, allocations: 4 kB / 261.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/0.01417, allocations: 79.75 kB / 261.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01429, allocations: 39.92 kB / 261.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.01566, allocations: 1.916 MB / 263.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.01581, allocations: 43.8 kB / 263.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01583, allocations: 12.03 kB / 263.3 MB, free: 10.63 MB / 250.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.0001108/0.01594, allocations: 172.5 kB / 263.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.01597, allocations: 31.8 kB / 263.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.016, allocations: 25.77 kB / 263.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.016, allocations: 0 / 263.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.016, allocations: 7.938 kB / 263.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01601, allocations: 0 / 263.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.01617, allocations: 212.4 kB / 263.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01617, allocations: 0 / 263.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.01621, allocations: 19.98 kB / 263.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.0164, allocations: 63.62 kB / 263.8 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.01642, allocations: 11.94 kB / 263.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.01746, allocations: 1.889 MB / 265.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01746, allocations: 0 / 265.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.01773, allocations: 207.8 kB / 265.9 MB, free: 7.797 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.01779, allocations: 35.78 kB / 265.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01781, allocations: 11.94 kB / 265.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.01789, allocations: 19.97 kB / 266 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.01797, allocations: 19.97 kB / 266 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01798, allocations: 4 kB / 266 MB, free: 7.707 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.01811, allocations: 213.1 kB / 266.2 MB, free: 7.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01811, allocations: 0 / 266.2 MB, free: 7.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.01835, allocations: 79.84 kB / 266.3 MB, free: 7.422 MB / 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 (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 0.0001132/0.01847, allocations: 103.2 kB / 266.4 MB, free: 7.312 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.01897, allocations: 390.2 kB / 266.7 MB, free: 6.895 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01898, allocations: 4.125 kB / 266.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.01914, allocations: 233.3 kB / 267 MB, free: 6.641 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.01935, allocations: 48.08 kB / 267 MB, free: 6.598 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008915/0.02024, allocations: 439.4 kB / 267.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.512e-05/0.02031, allocations: 88.22 kB / 267.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.614e-05/0.02037, allocations: 22.3 kB / 267.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.02042, allocations: 20.5 kB / 267.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02043, allocations: 4 kB / 267.6 MB, free: 5.992 MB / 250.7 MB Notification: Performance of Templates: time 0.006142/0.02657, allocations: 4.102 MB / 271.7 MB, free: 1.914 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9735423889942467]