Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.0008927/0.0008927, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004831/0.004831, allocations: 163 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9006/0.9006, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.735e-05, allocations: 4.672 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.002576/0.002593, allocations: 2.766 MB / 328.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003673, allocations: 0.7361 MB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.003801, allocations: 11.94 kB / 329.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.003929, allocations: 47.56 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.004069, allocations: 107 kB / 329.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.004308, allocations: 127.7 kB / 329.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.004606, allocations: 426.2 kB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.004766, allocations: 83.67 kB / 330.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004944, allocations: 235.5 kB / 330.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.005075, allocations: 127.6 kB / 330.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.005116, allocations: 40 kB / 330.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.005149, allocations: 44 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.005207, allocations: 75.69 kB / 330.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/0.005295, allocations: 123.7 kB / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.005619, allocations: 470.6 kB / 331.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005621, allocations: 4 kB / 331.3 MB, free: 9.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005622, allocations: 0 / 331.3 MB, free: 9.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.005626, allocations: 0 / 331.3 MB, free: 9.984 MB / 298.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.0007992/0.006425, allocations: 0.6085 MB / 331.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.00646, allocations: 11.97 kB / 331.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.00652, allocations: 40.7 kB / 331.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.00679, allocations: 237.2 kB / 332.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.006809, allocations: 20.88 kB / 332.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.006834, allocations: 24.38 kB / 332.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.007511, allocations: 382.6 kB / 332.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.007521, allocations: 192 / 332.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.007542, allocations: 12.36 kB / 332.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.007549, allocations: 11.94 kB / 332.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.007954, allocations: 285.8 kB / 332.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.00897, allocations: 0.9842 MB / 333.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.00941, allocations: 246.5 kB / 334.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.009575, allocations: 108.7 kB / 334.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.009595, allocations: 0 / 334.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.009865, allocations: 233.1 kB / 334.4 MB, free: 6.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.009866, allocations: 0 / 334.4 MB, free: 6.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001134/0.011, allocations: 0.5916 MB / 335 MB, free: 6.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.01104, allocations: 106.8 kB / 335.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.01123, allocations: 277.8 kB / 335.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.01124, allocations: 25.7 kB / 335.4 MB, free: 5.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.01133, allocations: 204 kB / 335.6 MB, free: 5.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.01135, allocations: 39.69 kB / 335.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.01141, allocations: 53.89 kB / 335.7 MB, free: 5.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.01149, allocations: 338.8 kB / 336 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.01167, allocations: 134 kB / 336.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.0119, allocations: 282 kB / 336.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.01226, allocations: 319.7 kB / 336.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01226, allocations: 0 / 336.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006307/0.01289, allocations: 496 kB / 337.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.01292, allocations: 37.7 kB / 337.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01293, allocations: 4 kB / 337.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.01318, allocations: 84.86 kB / 337.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01328, allocations: 43.91 kB / 337.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.0148, allocations: 1.852 MB / 339.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.01524, allocations: 51.8 kB / 339.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01525, allocations: 19.94 kB / 339.3 MB, free: 1.402 MB / 298.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.0001027/0.01536, allocations: 153.9 kB / 339.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.01538, allocations: 27.8 kB / 339.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.0154, allocations: 21.98 kB / 339.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.01541, allocations: 0 / 339.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01541, allocations: 3.938 kB / 339.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01541, allocations: 4 kB / 339.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.01555, allocations: 225.1 kB / 339.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01556, allocations: 0 / 339.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.01562, allocations: 23.97 kB / 339.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/0.01577, allocations: 84.73 kB / 339.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01578, allocations: 0 / 339.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.01696, allocations: 1.667 MB / 341.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01696, allocations: 3.984 kB / 341.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.01748, allocations: 365.6 kB / 341.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.0175, allocations: 23.84 kB / 341.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01752, allocations: 7.938 kB / 341.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01762, allocations: 43.89 kB / 342 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.01768, allocations: 15.97 kB / 342 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.01768, allocations: 4 kB / 342 MB, free: 14.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.0178, allocations: 193.2 kB / 342.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0178, allocations: 0 / 342.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.01803, allocations: 75.84 kB / 342.2 MB, free: 14.32 MB / 314.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 8.559e-05/0.01811, allocations: 115.2 kB / 342.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.01867, allocations: 462.7 kB / 342.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01867, allocations: 0 / 342.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.01889, allocations: 222.6 kB / 343 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.0191, allocations: 52.83 kB / 343.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006195/0.01972, allocations: 0.4998 MB / 343.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.156e-05/0.0198, allocations: 146.9 kB / 343.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.01985, allocations: 20.5 kB / 343.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01985, allocations: 0 / 343.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of Templates: time 0.004427/0.02428, allocations: 4.787 MB / 348.5 MB, free: 7.941 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.521262854337692]