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.0009535/0.0009535, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.001241/0.001241, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9761/0.9761, allocations: 177.1 MB / 205 MB, free: 5.613 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.673e-06/1.673e-06, allocations: 0 / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.594e-05, allocations: 6.312 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00405/0.004066, allocations: 2.955 MB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.005504, allocations: 0.744 MB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.005651, allocations: 7.938 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.005802, allocations: 51.5 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.00602, allocations: 115 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.006307, allocations: 123.7 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.00674, allocations: 426.2 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.006913, allocations: 87.66 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.007197, allocations: 231.5 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.007384, allocations: 131.6 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.007445, allocations: 40 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.805e-05/0.007503, allocations: 44 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.007566, allocations: 79.69 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.007701, allocations: 135.7 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.008141, allocations: 255.1 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.008143, allocations: 0 / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.008145, allocations: 0 / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.008156, allocations: 3.938 kB / 278.4 MB, free: 12.05 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001006/0.009161, allocations: 0.6857 MB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.009196, allocations: 8.031 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.009314, allocations: 60.7 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.00967, allocations: 240 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.009694, allocations: 16.88 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.009737, allocations: 28.38 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.01031, allocations: 313 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01032, allocations: 192 / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.01035, allocations: 8.375 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.01036, allocations: 11.94 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.01064, allocations: 102.9 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.01221, allocations: 1.037 MB / 280.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.01255, allocations: 115.1 kB / 281 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.01265, allocations: 43.66 kB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.01266, allocations: 0 / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.0129, allocations: 183.5 kB / 281.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.0129, allocations: 0 / 281.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006991/0.0136, allocations: 312.8 kB / 281.6 MB, free: 8.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.01364, allocations: 110.8 kB / 281.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.01407, allocations: 312.2 kB / 282 MB, free: 8.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01409, allocations: 29.7 kB / 282 MB, free: 8.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.01418, allocations: 250.7 kB / 282.2 MB, free: 7.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.01421, allocations: 39.69 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.01427, allocations: 59.55 kB / 282.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01437, allocations: 0.5001 MB / 282.8 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.01444, allocations: 58.16 kB / 282.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.01457, allocations: 241.8 kB / 283.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.01474, allocations: 219.7 kB / 283.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01475, allocations: 7.938 kB / 283.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003702/0.01512, allocations: 328.1 kB / 283.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.01514, allocations: 33.7 kB / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01514, allocations: 0 / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.01537, allocations: 83.97 kB / 283.8 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.01547, allocations: 43.91 kB / 283.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.01651, allocations: 2.145 MB / 286 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.01664, allocations: 43.88 kB / 286 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01665, allocations: 16.02 kB / 286 MB, free: 3.84 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 8.865e-05/0.01674, allocations: 179.7 kB / 286.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.01677, allocations: 27.8 kB / 286.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.01679, allocations: 29.77 kB / 286.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01679, allocations: 0 / 286.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.0168, allocations: 0 / 286.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.0168, allocations: 0 / 286.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.01694, allocations: 224.5 kB / 286.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01694, allocations: 3.984 kB / 286.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.01699, allocations: 19.98 kB / 286.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.01716, allocations: 75.52 kB / 286.6 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01717, allocations: 11.98 kB / 286.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008282/0.018, allocations: 1.877 MB / 288.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.018, allocations: 0 / 288.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.01826, allocations: 223.8 kB / 288.7 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01828, allocations: 23.86 kB / 288.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.0183, allocations: 3.938 kB / 288.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.01839, allocations: 27.97 kB / 288.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.01843, allocations: 15.97 kB / 288.8 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01844, allocations: 4 kB / 288.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000349/0.01879, allocations: 213.1 kB / 289 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01879, allocations: 4 kB / 289 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000236/0.01903, allocations: 83.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: 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 6.951e-05/0.0191, allocations: 99.25 kB / 289.2 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.01944, allocations: 385.4 kB / 289.5 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01944, allocations: 0 / 289.5 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.01959, allocations: 238.1 kB / 289.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.01977, allocations: 48.27 kB / 289.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.02043, allocations: 447 kB / 290.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.02047, allocations: 92.12 kB / 290.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.627e-05/0.02054, allocations: 30.27 kB / 290.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.02058, allocations: 24.5 kB / 290.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02058, allocations: 0 / 290.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of Templates: time 0.005539/0.02612, allocations: 4.389 MB / 294.8 MB, free: 10.84 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",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.777265649754554]