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.001955/0.001955, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 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.002352/0.002352, allocations: 187.5 kB / 23.71 MB, free: 4.434 MB / 14.72 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 1.496/1.496, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001682/0.001682, allocations: 51.86 kB / 370.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.278, allocations: 52.17 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.006019/0.284, allocations: 2.745 MB / 425.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2856, allocations: 0.7012 MB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.2858, allocations: 7.938 kB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.2861, allocations: 51.5 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.2863, allocations: 103.2 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.2867, allocations: 119.8 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.2873, allocations: 414.4 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.2876, allocations: 98.14 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2879, allocations: 155.4 kB / 427.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.2882, allocations: 155.2 kB / 427.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.225e-05/0.2882, allocations: 40 kB / 427.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-05/0.2883, allocations: 44 kB / 427.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2884, allocations: 83.69 kB / 427.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.2886, allocations: 139.4 kB / 427.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000625/0.2893, allocations: 462 kB / 428.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2893, allocations: 0 / 428.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2893, allocations: 0 / 428.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.2893, allocations: 0 / 428.4 MB, free: 9.188 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001475/0.2908, allocations: 0.6079 MB / 429 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2908, allocations: 8.031 kB / 429 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.2909, allocations: 32.75 kB / 429 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.2914, allocations: 249.8 kB / 429.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2914, allocations: 20.88 kB / 429.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.2915, allocations: 28.38 kB / 429.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.2923, allocations: 378.4 kB / 429.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2923, allocations: 0 / 429.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.2924, allocations: 8 kB / 429.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.2924, allocations: 11.98 kB / 429.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.2932, allocations: 285.8 kB / 430 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.2951, allocations: 0.972 MB / 430.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/0.2959, allocations: 242.5 kB / 431.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.2963, allocations: 104.8 kB / 431.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2963, allocations: 0 / 431.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005313/0.2968, allocations: 233.2 kB / 431.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.2968, allocations: 4 kB / 431.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00241/0.2993, allocations: 0.5827 MB / 432.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/0.2993, allocations: 111 kB / 432.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.2997, allocations: 273.8 kB / 432.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.2997, allocations: 33.64 kB / 432.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2999, allocations: 212 kB / 432.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.2999, allocations: 43.64 kB / 432.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.3, allocations: 49.94 kB / 432.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3002, allocations: 330.8 kB / 433.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.3006, allocations: 134.1 kB / 433.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.3011, allocations: 287.1 kB / 433.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.3018, allocations: 305.9 kB / 433.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3018, allocations: 0 / 433.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001313/0.3031, allocations: 0.5045 MB / 434.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.3032, allocations: 33.7 kB / 434.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3032, allocations: 7.938 kB / 434.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.3036, allocations: 92.86 kB / 434.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3038, allocations: 43.91 kB / 434.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.3066, allocations: 1.853 MB / 436.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.307, allocations: 55.73 kB / 436.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.307, allocations: 16.06 kB / 436.4 MB, free: 0.6133 MB / 334.1 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.0001877/0.3072, allocations: 153.8 kB / 436.6 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.3072, allocations: 23.86 kB / 436.6 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.3073, allocations: 21.77 kB / 436.6 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3073, allocations: 0 / 436.6 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3073, allocations: 4 kB / 436.6 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3073, allocations: 0 / 436.6 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.3076, allocations: 221.1 kB / 436.9 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3076, allocations: 0 / 436.9 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3077, allocations: 27.97 kB / 436.9 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/0.308, allocations: 80.92 kB / 437 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.308, allocations: 4 kB / 437 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/0.3105, allocations: 1.667 MB / 438.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3105, allocations: 0 / 438.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3116, allocations: 373.5 kB / 439 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3117, allocations: 27.86 kB / 439 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.3117, allocations: 7.984 kB / 439 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.312, allocations: 31.97 kB / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.3121, allocations: 23.91 kB / 439.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3121, allocations: 192 / 439.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.3123, allocations: 201.1 kB / 439.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3123, allocations: 0 / 439.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.3127, allocations: 79.83 kB / 439.4 MB, free: 13.52 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: 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 0.0001438/0.3129, allocations: 103.2 kB / 439.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.314, allocations: 455.5 kB / 439.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.314, allocations: 0 / 439.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.3145, allocations: 230.5 kB / 440.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3148, allocations: 60.14 kB / 440.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.316, allocations: 495.7 kB / 440.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.3161, allocations: 142.9 kB / 440.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.3162, allocations: 26.28 kB / 440.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.3163, allocations: 19.44 kB / 440.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3163, allocations: 4 kB / 440.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Templates: time 0.009566/0.3259, allocations: 4.379 MB / 445.2 MB, free: 7.605 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.73166517354548]