Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009775/0.0009775, allocations: 84.25 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 161.9 kB / 25.61 MB, free: 8.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.067/1.067, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 274.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.012e-05, allocations: 2.312 kB / 274.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003129/0.003149, allocations: 2.948 MB / 277.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.00435, allocations: 0.7351 MB / 277.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.004507, allocations: 10.41 kB / 277.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.004687, allocations: 51.5 kB / 277.9 MB, free: 496 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.004876, allocations: 111.1 kB / 278 MB, free: 384 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.005139, allocations: 109.6 kB / 278.1 MB, free: 276 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.00551, allocations: 422.2 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.005689, allocations: 91.59 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.005939, allocations: 235.5 kB / 278.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.006096, allocations: 136.2 kB / 279 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.006142, allocations: 44 kB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.828e-05/0.00618, allocations: 40.66 kB / 279.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.006236, allocations: 83.69 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.006332, allocations: 123.7 kB / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.006592, allocations: 267 kB / 279.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006595, allocations: 0 / 279.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006595, allocations: 0 / 279.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.006601, allocations: 4 kB / 279.5 MB, free: 14.85 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001023/0.007624, allocations: 0.6818 MB / 280.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.007661, allocations: 12.03 kB / 280.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.00774, allocations: 56.7 kB / 280.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.008002, allocations: 244 kB / 280.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.008021, allocations: 21.03 kB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.008052, allocations: 28.38 kB / 280.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.008338, allocations: 272.4 kB / 280.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.008349, allocations: 192 / 280.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.008369, allocations: 16.38 kB / 280.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.008376, allocations: 7.938 kB / 280.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.008485, allocations: 84.52 kB / 280.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009675/0.009453, allocations: 0.952 MB / 281.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.009635, allocations: 111.1 kB / 282 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.009676, allocations: 27.67 kB / 282 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.009694, allocations: 4.281 kB / 282 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.009867, allocations: 216.7 kB / 282.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.009869, allocations: 3.938 kB / 282.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005653/0.01043, allocations: 267.1 kB / 282.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.01049, allocations: 132.5 kB / 282.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.01067, allocations: 308.1 kB / 282.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.01068, allocations: 25.7 kB / 283 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01079, allocations: 250.8 kB / 283.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.01082, allocations: 51.52 kB / 283.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.01089, allocations: 59.3 kB / 283.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01102, allocations: 0.5079 MB / 283.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.01107, allocations: 53.67 kB / 283.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.01121, allocations: 275.1 kB / 284.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.01136, allocations: 199.9 kB / 284.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01136, allocations: 0 / 284.3 MB, free: 9.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000341/0.0117, allocations: 310.9 kB / 284.6 MB, free: 9.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.01173, allocations: 33.7 kB / 284.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01173, allocations: 4 kB / 284.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.01198, allocations: 83.77 kB / 284.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.01207, allocations: 35.98 kB / 284.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.01322, allocations: 1.954 MB / 286.7 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.01337, allocations: 55.78 kB / 286.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.01339, allocations: 4 kB / 286.8 MB, free: 6.961 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,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 (24): * Single equations (assignments): 22 * 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.000109/0.0135, allocations: 176.5 kB / 287 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.01353, allocations: 24.05 kB / 287 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.01384, allocations: 37.98 kB / 287 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01384, allocations: 0 / 287 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01384, allocations: 4 kB / 287 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01385, allocations: 4 kB / 287 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.01399, allocations: 193.1 kB / 287.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01399, allocations: 0 / 287.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.01404, allocations: 15.98 kB / 287.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.01425, allocations: 75.55 kB / 287.3 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01426, allocations: 12 kB / 287.3 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009615/0.01522, allocations: 1.946 MB / 289.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01522, allocations: 0 / 289.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.01547, allocations: 215.7 kB / 289.5 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.01549, allocations: 23.83 kB / 289.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.01552, allocations: 11.98 kB / 289.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.01561, allocations: 19.98 kB / 289.5 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.01566, allocations: 27.89 kB / 289.6 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01567, allocations: 4 kB / 289.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.335e-05/0.01576, allocations: 201.1 kB / 289.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01576, allocations: 0 / 289.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.01601, allocations: 87.88 kB / 289.9 MB, free: 3.715 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0001015/0.01611, allocations: 107.2 kB / 290 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.01647, allocations: 392.2 kB / 290.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01647, allocations: 0 / 290.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.01663, allocations: 245.4 kB / 290.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.01684, allocations: 58.94 kB / 290.6 MB, free: 2.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009276/0.01776, allocations: 0.4987 MB / 291.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.06e-05/0.01781, allocations: 88.25 kB / 291.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.868e-05/0.01789, allocations: 26.28 kB / 291.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.01803, allocations: 130.2 kB / 291.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01803, allocations: 4 kB / 291.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of Templates: time 0.007188/0.02522, allocations: 4.845 MB / 296.2 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9046889282763004]