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.00163/0.00163, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001547/0.001547, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.668/1.668, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002046/0.002046, allocations: 71.89 kB / 378.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2659, allocations: 53.41 MB / 431.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.005361/0.2713, allocations: 2.773 MB / 434.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.2736, allocations: 0.709 MB / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.274, allocations: 8 kB / 435.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.2743, allocations: 43.52 kB / 435.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.2747, allocations: 111.1 kB / 435.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.2751, allocations: 107.8 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006884/0.2758, allocations: 414.4 kB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.276, allocations: 83.33 kB / 435.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.2764, allocations: 163.4 kB / 436.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.2767, allocations: 155.3 kB / 436.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.08e-05/0.2768, allocations: 40 kB / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.2769, allocations: 43.94 kB / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.277, allocations: 75.77 kB / 436.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.2772, allocations: 151.3 kB / 436.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.2778, allocations: 468.8 kB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2778, allocations: 4 kB / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2778, allocations: 0 / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.2778, allocations: 0 / 437 MB, free: 1.156 MB / 334.1 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.001518/0.2793, allocations: 0.5975 MB / 437.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.2794, allocations: 15.98 kB / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.2795, allocations: 36.75 kB / 437.6 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.2801, allocations: 249.9 kB / 437.9 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.2801, allocations: 21.03 kB / 437.9 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.2802, allocations: 24.38 kB / 437.9 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/0.281, allocations: 367.4 kB / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2811, allocations: 0 / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.2811, allocations: 12 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2811, allocations: 11.94 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.2819, allocations: 266.4 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.284, allocations: 0.9208 MB / 439.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.2847, allocations: 206.7 kB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.285, allocations: 92.78 kB / 439.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.285, allocations: 3.938 kB / 439.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.2855, allocations: 264.1 kB / 440 MB, free: 13.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.2855, allocations: 0 / 440 MB, free: 13.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001803/0.2873, allocations: 457.2 kB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.2875, allocations: 136.5 kB / 440.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.2878, allocations: 269.9 kB / 440.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.2879, allocations: 33.7 kB / 440.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.288, allocations: 204 kB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.2881, allocations: 55.53 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2882, allocations: 49.7 kB / 441.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2884, allocations: 334.8 kB / 441.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.2887, allocations: 121.6 kB / 441.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.2892, allocations: 307.4 kB / 442 MB, free: 11.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.2898, allocations: 285.7 kB / 442.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2898, allocations: 0 / 442.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001116/0.2909, allocations: 441.5 kB / 442.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.291, allocations: 29.7 kB / 442.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.291, allocations: 4 kB / 442.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.2914, allocations: 80.78 kB / 442.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2916, allocations: 51.88 kB / 442.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.2942, allocations: 1.665 MB / 444.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.2945, allocations: 51.98 kB / 444.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.2945, allocations: 12 kB / 444.6 MB, free: 9.051 MB / 350.1 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.0001878/0.2947, allocations: 164 kB / 444.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.2948, allocations: 23.86 kB / 444.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.2948, allocations: 38.17 kB / 444.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2948, allocations: 0 / 444.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2948, allocations: 0 / 444.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2948, allocations: 4 kB / 444.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.2952, allocations: 217.2 kB / 445 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2952, allocations: 3.938 kB / 445 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.2953, allocations: 23.91 kB / 445 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/0.2956, allocations: 76.8 kB / 445.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.2956, allocations: 7.984 kB / 445.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.2978, allocations: 1.657 MB / 446.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2978, allocations: 7.938 kB / 446.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008966/0.2987, allocations: 317.5 kB / 447.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.2988, allocations: 31.78 kB / 447.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.2989, allocations: 8 kB / 447.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.2991, allocations: 27.95 kB / 447.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.2992, allocations: 27.91 kB / 447.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2992, allocations: 7.984 kB / 447.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.2994, allocations: 193.2 kB / 447.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2994, allocations: 0 / 447.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.2998, allocations: 83.89 kB / 447.4 MB, free: 5.988 MB / 350.1 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.0001607/0.3, allocations: 102.4 kB / 447.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.301, allocations: 444 kB / 448 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.301, allocations: 4.062 kB / 448 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.3015, allocations: 234.5 kB / 448.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3019, allocations: 52.33 kB / 448.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.304, allocations: 0.59 MB / 448.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3042, allocations: 151.5 kB / 449 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.3043, allocations: 26.28 kB / 449 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.3044, allocations: 19.44 kB / 449 MB, free: 4.289 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3044, allocations: 0 / 449 MB, free: 4.289 MB / 350.1 MB Notification: Performance of Templates: time 0.01024/0.3146, allocations: 4.691 MB / 453.7 MB, free: 15.66 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.827502936124802]