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.0009167/0.0009167, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009225/0.0009225, allocations: 170 kB / 24.82 MB, free: 9.254 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 0.9679/0.9679, allocations: 177 MB / 205.1 MB, free: 5.469 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.483e-06/1.483e-06, allocations: 0 / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.294e-05, allocations: 2.312 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00413/0.004153, allocations: 2.939 MB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.005535, allocations: 0.7167 MB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.005708, allocations: 7.938 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.005881, allocations: 55.44 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.006121, allocations: 115.1 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.006414, allocations: 99.75 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.006877, allocations: 434.1 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.007079, allocations: 87.66 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.007377, allocations: 227.5 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.007592, allocations: 135.6 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.007658, allocations: 40 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-05/0.007721, allocations: 47.94 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.007813, allocations: 87.67 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.007951, allocations: 131.7 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.008291, allocations: 259.1 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.123e-06/0.008293, allocations: 0 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008294, allocations: 0 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.008299, allocations: 0 / 278.7 MB, free: 11.79 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.0009331/0.009232, allocations: 0.6935 MB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.009268, allocations: 11.98 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.009359, allocations: 56.75 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.009666, allocations: 248 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.00969, allocations: 21.03 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.009735, allocations: 28.38 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.01013, allocations: 272.4 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.01014, allocations: 4.188 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.01016, allocations: 12.38 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.01017, allocations: 7.938 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.01035, allocations: 80.52 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.01172, allocations: 0.9558 MB / 281.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.01196, allocations: 103.2 kB / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.01203, allocations: 39.66 kB / 281.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.01205, allocations: 4.281 kB / 281.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.01228, allocations: 220.7 kB / 281.5 MB, free: 8.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.01228, allocations: 0 / 281.5 MB, free: 8.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007782/0.01306, allocations: 267.8 kB / 281.7 MB, free: 8.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.01312, allocations: 140.5 kB / 281.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.01336, allocations: 304.1 kB / 282.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.01339, allocations: 29.7 kB / 282.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.01352, allocations: 246.8 kB / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.01356, allocations: 47.56 kB / 282.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01367, allocations: 67.28 kB / 282.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.01382, allocations: 0.5079 MB / 283 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.0139, allocations: 53.67 kB / 283.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.01408, allocations: 278.3 kB / 283.4 MB, free: 6.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.0143, allocations: 197 kB / 283.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.0143, allocations: 0 / 283.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004808/0.01478, allocations: 308.1 kB / 283.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.01481, allocations: 36.83 kB / 283.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01482, allocations: 4 kB / 283.9 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.01516, allocations: 83.92 kB / 284 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.0153, allocations: 39.92 kB / 284 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.01677, allocations: 1.954 MB / 286 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.01698, allocations: 51.75 kB / 286 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.01701, allocations: 15.98 kB / 286 MB, free: 3.859 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.0001259/0.01713, allocations: 168.5 kB / 286.2 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.01718, allocations: 27.86 kB / 286.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.01722, allocations: 34.05 kB / 286.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01723, allocations: 4 kB / 286.3 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.01723, allocations: 0 / 286.3 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01723, allocations: 7.984 kB / 286.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.01742, allocations: 177.1 kB / 286.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01742, allocations: 0 / 286.5 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.0175, allocations: 19.98 kB / 286.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/0.01778, allocations: 83.55 kB / 286.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01779, allocations: 0 / 286.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.01913, allocations: 1.95 MB / 288.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01913, allocations: 0 / 288.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.01948, allocations: 211.8 kB / 288.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.01953, allocations: 27.78 kB / 288.7 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.01956, allocations: 8 kB / 288.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.0197, allocations: 19.98 kB / 288.8 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.01977, allocations: 31.83 kB / 288.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.01978, allocations: 4 kB / 288.8 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.01993, allocations: 201.1 kB / 289 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01993, allocations: 0 / 289 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.02029, allocations: 95.78 kB / 289.1 MB, free: 0.6172 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.0001151/0.0204, allocations: 99.23 kB / 289.2 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.02085, allocations: 388.9 kB / 289.6 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02085, allocations: 0 / 289.6 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.0211, allocations: 253.2 kB / 289.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.0214, allocations: 52.34 kB / 289.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.02272, allocations: 0.5066 MB / 290.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.045e-05/0.02278, allocations: 84.31 kB / 290.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.02289, allocations: 26.28 kB / 290.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.02308, allocations: 126.2 kB / 290.6 MB, free: 15 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02308, allocations: 0 / 290.6 MB, free: 15 MB / 282.7 MB Notification: Performance of Templates: time 0.009582/0.03266, allocations: 4.745 MB / 295.3 MB, free: 10.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.7519634538330138]