Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.958/0.958, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.695e-05, allocations: 5.969 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004627/0.004644, allocations: 2.912 MB / 271.4 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.006002, allocations: 0.7282 MB / 272.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.006165, allocations: 7.938 kB / 272.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.006341, allocations: 47.56 kB / 272.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.006584, allocations: 119 kB / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.006795, allocations: 115.8 kB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.007093, allocations: 430.2 kB / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.00723, allocations: 94.22 kB / 272.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.007417, allocations: 231.4 kB / 273.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.007567, allocations: 135.6 kB / 273.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.007609, allocations: 40 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.007644, allocations: 43.94 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.007697, allocations: 79.73 kB / 273.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.007784, allocations: 131.7 kB / 273.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.008008, allocations: 259.1 kB / 273.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.008009, allocations: 0 / 273.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00801, allocations: 0 / 273.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.008014, allocations: 0 / 273.8 MB, free: 0.6211 MB / 250.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.0008714/0.008885, allocations: 0.5649 MB / 274.4 MB, free: 24 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.008911, allocations: 11.97 kB / 274.4 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.008977, allocations: 36.91 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.009171, allocations: 197.2 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.009187, allocations: 16.88 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.009215, allocations: 28.38 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.009488, allocations: 283.3 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.009499, allocations: 12.12 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.009517, allocations: 12.36 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.009524, allocations: 11.94 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.009617, allocations: 63.47 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/0.01041, allocations: 0.799 MB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.01058, allocations: 94.45 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.01061, allocations: 24.86 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.01063, allocations: 4 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.01075, allocations: 172.9 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.01075, allocations: 0 / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005038/0.01126, allocations: 262.2 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.0113, allocations: 102.8 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.01143, allocations: 240.9 kB / 276.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.01146, allocations: 33.69 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.01153, allocations: 195.9 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.01155, allocations: 43.62 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.0116, allocations: 49.92 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.01168, allocations: 335 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.01172, allocations: 50.16 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.01181, allocations: 205.9 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.01193, allocations: 170.8 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01193, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002541/0.01218, allocations: 265.7 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.01221, allocations: 37.7 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01221, allocations: 0 / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/0.01242, allocations: 72.94 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.01251, allocations: 47.91 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008107/0.01332, allocations: 1.453 MB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.01345, allocations: 43.94 kB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.01346, allocations: 16 kB / 279.7 MB, free: 10.24 MB / 266.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 7.75e-05/0.01354, allocations: 129.8 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.01356, allocations: 24.02 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.01358, allocations: 25.7 kB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01358, allocations: 4 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.01358, allocations: 0 / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01359, allocations: 0 / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.01369, allocations: 149.8 kB / 280.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01369, allocations: 0 / 280.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.01373, allocations: 15.98 kB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/0.01387, allocations: 68.81 kB / 280.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.01388, allocations: 0 / 280.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008825/0.01476, allocations: 1.299 MB / 281.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01476, allocations: 0 / 281.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.01494, allocations: 161.8 kB / 281.6 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.01496, allocations: 15.86 kB / 281.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.01498, allocations: 12.03 kB / 281.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.01506, allocations: 15.98 kB / 281.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.0151, allocations: 23.95 kB / 281.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.0151, allocations: 4 kB / 281.7 MB, free: 8.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.176e-05/0.01517, allocations: 82.78 kB / 281.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01517, allocations: 0 / 281.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01537, allocations: 79.78 kB / 281.8 MB, free: 8.012 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: 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 7.739e-05/0.01545, allocations: 96.34 kB / 281.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.01571, allocations: 308.2 kB / 282.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01571, allocations: 4 kB / 282.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.01582, allocations: 163.4 kB / 282.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.01596, allocations: 61 kB / 282.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.01655, allocations: 453 kB / 282.9 MB, free: 6.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.01659, allocations: 88.27 kB / 283 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.01665, allocations: 22.3 kB / 283 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.01676, allocations: 99.34 kB / 283.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01676, allocations: 0 / 283.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of Templates: time 0.005435/0.0222, allocations: 4.303 MB / 287.4 MB, free: 2.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.641290783882141]