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.0008746/0.0008746, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008791/0.0008791, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.925/0.925, allocations: 177 MB / 205.2 MB, free: 5.035 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.352e-06/1.352e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.134e-05, allocations: 5.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.002834/0.002855, allocations: 2.943 MB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.003799, allocations: 0.7515 MB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.003919, allocations: 11.94 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.00405, allocations: 51.44 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.004198, allocations: 111.1 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.004417, allocations: 103.8 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.004711, allocations: 430.1 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.004854, allocations: 90.28 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.005097, allocations: 231.5 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.005243, allocations: 139.6 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.005285, allocations: 40 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.289e-05/0.005318, allocations: 40 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.005376, allocations: 87.67 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.876e-05/0.005465, allocations: 123.7 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.005708, allocations: 267 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005711, allocations: 3.938 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005712, allocations: 0 / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.738e-06/0.005716, allocations: 0 / 278.8 MB, free: 11.59 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.0006203/0.006336, allocations: 0.5688 MB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.006372, allocations: 11.98 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.006431, allocations: 48.89 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.006647, allocations: 193.3 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.006664, allocations: 21.03 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.006694, allocations: 36.3 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.006944, allocations: 272.4 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.006958, allocations: 4.172 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.006978, allocations: 12.38 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.006986, allocations: 7.938 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.007078, allocations: 68.56 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.007887, allocations: 0.7479 MB / 280.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.00805, allocations: 98.41 kB / 280.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.008088, allocations: 36.84 kB / 280.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.008108, allocations: 8 kB / 280.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.008275, allocations: 199.8 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.008277, allocations: 0 / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004876/0.008765, allocations: 225.4 kB / 281.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.008811, allocations: 136.5 kB / 281.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.008944, allocations: 240.9 kB / 281.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.008965, allocations: 33.64 kB / 281.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.009035, allocations: 184.5 kB / 281.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.009062, allocations: 51.56 kB / 282 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.009119, allocations: 65.61 kB / 282 MB, free: 8.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.009194, allocations: 338.8 kB / 282.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.009236, allocations: 49.7 kB / 282.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.009342, allocations: 234.7 kB / 282.6 MB, free: 7.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.00946, allocations: 167 kB / 282.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.009463, allocations: 0 / 282.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000264/0.009727, allocations: 260.7 kB / 283.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.009758, allocations: 38.02 kB / 283.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.009763, allocations: 4 kB / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.009995, allocations: 76.78 kB / 283.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.01008, allocations: 39.92 kB / 283.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008829/0.01097, allocations: 1.376 MB / 284.6 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.01109, allocations: 43.81 kB / 284.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.0111, allocations: 8.078 kB / 284.6 MB, free: 5.258 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 8.415e-05/0.01118, allocations: 133.8 kB / 284.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.0112, allocations: 23.91 kB / 284.8 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.01124, allocations: 30.11 kB / 284.8 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01124, allocations: 3.938 kB / 284.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01124, allocations: 0 / 284.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01125, allocations: 0 / 284.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01142, allocations: 161.7 kB / 285 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01143, allocations: 0 / 285 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.01147, allocations: 15.98 kB / 285 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001683/0.01164, allocations: 68.8 kB / 285.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.01165, allocations: 4 kB / 285.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006844/0.01233, allocations: 1.372 MB / 286.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.01233, allocations: 3.938 kB / 286.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.01251, allocations: 165.7 kB / 286.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01253, allocations: 15.86 kB / 286.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.01255, allocations: 8 kB / 286.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.01262, allocations: 28 kB / 286.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.01267, allocations: 19.97 kB / 286.7 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01267, allocations: 7.984 kB / 286.7 MB, free: 3.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.913e-05/0.01273, allocations: 82.72 kB / 286.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01273, allocations: 0 / 286.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.01292, allocations: 95.72 kB / 286.9 MB, free: 2.887 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 9.88e-05/0.01302, allocations: 88.3 kB / 287 MB, free: 2.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.01333, allocations: 323.5 kB / 287.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.01333, allocations: 0 / 287.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.01345, allocations: 193.9 kB / 287.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.01361, allocations: 44.47 kB / 287.5 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008755/0.01448, allocations: 0.5093 MB / 288 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.01452, allocations: 84.31 kB / 288.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.737e-05/0.01459, allocations: 26.28 kB / 288.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.01471, allocations: 103.3 kB / 288.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01471, allocations: 0 / 288.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of Templates: time 0.09666/0.1114, allocations: 4.587 MB / 292.8 MB, free: 25.42 MB / 266.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.593020496889949]