Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001544/0.001544, allocations: 113 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.00194/0.00194, allocations: 197.9 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.495/1.495, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 51.92 kB / 368.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2718, allocations: 52.13 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00458/0.2764, allocations: 2.904 MB / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2776, allocations: 0.7401 MB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2778, allocations: 4 kB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.2779, allocations: 39.58 kB / 424.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.2781, allocations: 107.2 kB / 424.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.2784, allocations: 107.8 kB / 424.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.2788, allocations: 394.5 kB / 425.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.2791, allocations: 87.22 kB / 425.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.2793, allocations: 159.4 kB / 425.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.2795, allocations: 155.4 kB / 425.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.2796, allocations: 40 kB / 425.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.2797, allocations: 36 kB / 425.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.2797, allocations: 83.67 kB / 425.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.2799, allocations: 167.2 kB / 425.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.2804, allocations: 427.6 kB / 426.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2804, allocations: 3.938 kB / 426.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2804, allocations: 0 / 426.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.2804, allocations: 0 / 426.3 MB, free: 9.633 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001421/0.2818, allocations: 0.6641 MB / 427 MB, free: 8.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2819, allocations: 11.89 kB / 427 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.2819, allocations: 40.7 kB / 427 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.2824, allocations: 280.8 kB / 427.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.2824, allocations: 20.94 kB / 427.3 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.2825, allocations: 24.38 kB / 427.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.2832, allocations: 316 kB / 427.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2832, allocations: 4 kB / 427.7 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.2832, allocations: 15.92 kB / 427.7 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.2833, allocations: 8 kB / 427.7 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007652/0.284, allocations: 270.1 kB / 427.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.286, allocations: 1.177 MB / 429.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.2869, allocations: 230.6 kB / 429.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.2872, allocations: 104.7 kB / 429.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.2872, allocations: 0 / 429.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.2877, allocations: 176.9 kB / 429.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2877, allocations: 0 / 429.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002006/0.2897, allocations: 0.5889 MB / 430.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.2898, allocations: 89.03 kB / 430.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.2901, allocations: 266.5 kB / 430.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.2901, allocations: 33.64 kB / 430.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.2902, allocations: 203.9 kB / 430.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.2903, allocations: 35.69 kB / 430.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.2904, allocations: 49.66 kB / 430.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2905, allocations: 334.8 kB / 431.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.2908, allocations: 108.2 kB / 431.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.2912, allocations: 189 kB / 431.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.2919, allocations: 299.7 kB / 431.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2919, allocations: 4 kB / 431.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001232/0.2931, allocations: 446.9 kB / 432.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.2932, allocations: 37.64 kB / 432.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.2932, allocations: 4 kB / 432.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.2935, allocations: 72.8 kB / 432.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.2937, allocations: 51.95 kB / 432.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.2959, allocations: 1.629 MB / 434 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.2962, allocations: 47.95 kB / 434.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.2963, allocations: 11.94 kB / 434.1 MB, free: 1.328 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.2964, allocations: 149.7 kB / 434.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.2965, allocations: 19.86 kB / 434.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.974e-05/0.2965, allocations: 25.7 kB / 434.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2965, allocations: 0 / 434.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2965, allocations: 3.938 kB / 434.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2965, allocations: 4 kB / 434.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.2968, allocations: 321.3 kB / 434.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2968, allocations: 0 / 434.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.297, allocations: 31.97 kB / 434.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/0.2972, allocations: 68.8 kB / 434.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.2973, allocations: 4 kB / 434.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.2993, allocations: 1.621 MB / 436.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2993, allocations: 0 / 436.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3007, allocations: 457.5 kB / 436.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.3008, allocations: 100.9 kB / 436.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.3008, allocations: 11.98 kB / 436.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.301, allocations: 23.97 kB / 436.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3012, allocations: 20.05 kB / 436.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.3012, allocations: 15.92 kB / 436.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.3014, allocations: 186 kB / 437.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3014, allocations: 0 / 437.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00035/0.3018, allocations: 63.89 kB / 437.2 MB, free: 13.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001977/0.302, allocations: 103.2 kB / 437.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.303, allocations: 406.4 kB / 437.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.303, allocations: 0 / 437.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.3035, allocations: 222.5 kB / 437.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3038, allocations: 37.25 kB / 437.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.3071, allocations: 0.8952 MB / 438.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3074, allocations: 0.744 MB / 439.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.3075, allocations: 34.27 kB / 439.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.3076, allocations: 19.44 kB / 439.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3076, allocations: 4 kB / 439.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Templates: time 0.007917/0.3155, allocations: 3.788 MB / 443.4 MB, free: 7.688 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.760078316554427]