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.001746/0.001746, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.00192/0.00192, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.434/1.434, allocations: 225.6 MB / 250.8 MB, free: 13.36 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.002027/0.002027, allocations: 59.91 kB / 368.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2582, allocations: 52.13 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004629/0.2628, allocations: 2.977 MB / 423.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2641, allocations: 0.7323 MB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.2642, allocations: 8 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.2644, allocations: 47.5 kB / 424.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.2646, allocations: 107.2 kB / 424.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.2649, allocations: 115.8 kB / 424.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.2653, allocations: 418.4 kB / 425.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.2655, allocations: 95.2 kB / 425.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2657, allocations: 155.4 kB / 425.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2659, allocations: 171.3 kB / 425.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.266, allocations: 40 kB / 425.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.2661, allocations: 40 kB / 425.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.2661, allocations: 79.7 kB / 425.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.2663, allocations: 183.1 kB / 426 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.2668, allocations: 451.5 kB / 426.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2668, allocations: 4 kB / 426.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2668, allocations: 0 / 426.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2668, allocations: 0 / 426.5 MB, free: 9.48 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.001361/0.2682, allocations: 0.6806 MB / 427.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2682, allocations: 11.89 kB / 427.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.2683, allocations: 32.75 kB / 427.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.2688, allocations: 307.7 kB / 427.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.2688, allocations: 16.94 kB / 427.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.2688, allocations: 28.38 kB / 427.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.2696, allocations: 327.9 kB / 427.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2696, allocations: 4 kB / 427.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.2696, allocations: 8 kB / 427.9 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.2696, allocations: 8 kB / 427.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.2704, allocations: 290 kB / 428.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.2724, allocations: 1.158 MB / 429.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.2732, allocations: 234.6 kB / 429.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.2735, allocations: 100.8 kB / 429.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2735, allocations: 4 kB / 429.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004844/0.274, allocations: 181.8 kB / 429.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.274, allocations: 0 / 429.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002342/0.2764, allocations: 0.6629 MB / 430.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.2765, allocations: 110.8 kB / 430.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.2768, allocations: 282.6 kB / 430.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.2768, allocations: 29.7 kB / 430.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.277, allocations: 196 kB / 431.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.2771, allocations: 47.69 kB / 431.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.2772, allocations: 49.89 kB / 431.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.2773, allocations: 338.8 kB / 431.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.2777, allocations: 108.3 kB / 431.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.2781, allocations: 212.8 kB / 431.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.2788, allocations: 315.7 kB / 432.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2788, allocations: 0 / 432.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001266/0.2801, allocations: 475.7 kB / 432.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.2801, allocations: 29.7 kB / 432.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2802, allocations: 4 kB / 432.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/0.2806, allocations: 80.8 kB / 432.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.2808, allocations: 51.97 kB / 432.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.2836, allocations: 1.994 MB / 434.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.284, allocations: 59.8 kB / 434.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.284, allocations: 8.219 kB / 434.8 MB, free: 0.5664 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.0001938/0.2842, allocations: 149.7 kB / 435 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.2842, allocations: 31.78 kB / 435 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.2843, allocations: 25.84 kB / 435 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2843, allocations: 0 / 435 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2843, allocations: 128 / 435 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2843, allocations: 11.98 kB / 435.1 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.2846, allocations: 317.3 kB / 435.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2847, allocations: 4 kB / 435.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.2848, allocations: 23.97 kB / 435.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/0.2851, allocations: 88.73 kB / 435.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.2851, allocations: 4 kB / 435.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/0.2878, allocations: 1.801 MB / 437.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2878, allocations: 192 / 437.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.2889, allocations: 376.5 kB / 437.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.289, allocations: 104.9 kB / 437.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.2891, allocations: 4 kB / 437.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.2893, allocations: 31.97 kB / 437.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.2894, allocations: 19.97 kB / 437.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2894, allocations: 4 kB / 437.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.2896, allocations: 213.9 kB / 438 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2896, allocations: 0 / 438 MB, free: 13.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.29, allocations: 75.84 kB / 438.1 MB, free: 13.06 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.2902, allocations: 103.2 kB / 438.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.2912, allocations: 425.8 kB / 438.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2912, allocations: 0 / 438.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.2917, allocations: 239 kB / 438.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.2921, allocations: 51.27 kB / 438.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2932, allocations: 0.499 MB / 439.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.2936, allocations: 0.7558 MB / 440.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.989e-05/0.2937, allocations: 22.3 kB / 440.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.2938, allocations: 19.44 kB / 440.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2938, allocations: 0 / 440.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01002/0.3038, allocations: 4.292 MB / 444.5 MB, free: 6.617 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.534069016575813]