Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.0009438/0.0009438, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009519/0.0009519, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.8874/0.8874, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.677e-05, allocations: 8.125 kB / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003314/0.003331, allocations: 3.112 MB / 277.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004565, allocations: 0.8378 MB / 278.2 MB, free: 440 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.004717, allocations: 8.5 kB / 278.2 MB, free: 432 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.004877, allocations: 67.3 kB / 278.2 MB, free: 364 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.005032, allocations: 119.5 kB / 278.3 MB, free: 244 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.005371, allocations: 159.7 kB / 278.5 MB, free: 84 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.005751, allocations: 0.5655 MB / 279.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.005942, allocations: 124.8 kB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.006316, allocations: 327.3 kB / 279.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.006502, allocations: 195.5 kB / 279.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.006553, allocations: 56 kB / 279.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.006637, allocations: 56 kB / 279.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.006697, allocations: 119.6 kB / 279.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.006805, allocations: 167.6 kB / 280.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.007135, allocations: 394.6 kB / 280.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.007137, allocations: 0 / 280.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.007137, allocations: 3.938 kB / 280.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.007143, allocations: 4 kB / 280.5 MB, free: 14.09 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008386/0.007981, allocations: 0.7999 MB / 281.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.00801, allocations: 12.03 kB / 281.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.008165, allocations: 92.59 kB / 281.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.008409, allocations: 259.3 kB / 281.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.008432, allocations: 29.38 kB / 281.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.008478, allocations: 40.36 kB / 281.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.008925, allocations: 0.5178 MB / 282.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.008937, allocations: 192 / 282.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.008968, allocations: 16.38 kB / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.008979, allocations: 15.94 kB / 282.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.009201, allocations: 174.8 kB / 282.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01067, allocations: 1.154 MB / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.01106, allocations: 252.1 kB / 283.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.01117, allocations: 112.2 kB / 283.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.01119, allocations: 8.328 kB / 283.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.01121, allocations: 41.72 kB / 284 MB, free: 10.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.263e-06/0.01122, allocations: 0 / 284 MB, free: 10.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001749/0.01296, allocations: 0.8023 MB / 284.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.01301, allocations: 162.2 kB / 284.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.01316, allocations: 306.2 kB / 285.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.01319, allocations: 33.7 kB / 285.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.01328, allocations: 259.4 kB / 285.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.01335, allocations: 146.7 kB / 285.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.01344, allocations: 87.77 kB / 285.8 MB, free: 8.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.01355, allocations: 0.5195 MB / 286.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.01363, allocations: 64.94 kB / 286.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.01379, allocations: 292 kB / 286.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.01401, allocations: 233.3 kB / 286.9 MB, free: 7.289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01401, allocations: 4 kB / 286.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005314/0.01454, allocations: 420.4 kB / 287.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01456, allocations: 10.19 kB / 287.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.01456, allocations: 48 / 287.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.01511, allocations: 251.1 kB / 287.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01526, allocations: 75.83 kB / 287.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006466/0.01591, allocations: 1.733 MB / 289.3 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.01606, allocations: 51.77 kB / 289.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.01609, allocations: 19.92 kB / 289.4 MB, free: 4.656 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.01643, allocations: 176.5 kB / 289.6 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.01648, allocations: 51.83 kB / 289.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.01716, allocations: 459 kB / 290.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01716, allocations: 4 kB / 290.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01717, allocations: 4 kB / 290.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01717, allocations: 0 / 290.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.01742, allocations: 268.6 kB / 290.3 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01742, allocations: 0 / 290.3 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.01755, allocations: 51.91 kB / 290.4 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.01805, allocations: 251.1 kB / 290.6 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.01806, allocations: 4 kB / 290.6 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006218/0.01869, allocations: 1.744 MB / 292.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01869, allocations: 0 / 292.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.01946, allocations: 0.6505 MB / 293 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.01949, allocations: 31.7 kB / 293.1 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.01953, allocations: 15.97 kB / 293.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.01967, allocations: 27.97 kB / 293.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.01971, allocations: 23.95 kB / 293.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.01973, allocations: 12 kB / 293.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.007e-05/0.01982, allocations: 202.9 kB / 293.3 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01982, allocations: 4 kB / 293.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.02007, allocations: 107.8 kB / 293.5 MB, free: 452 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.02017, allocations: 115.2 kB / 293.6 MB, free: 328 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.02052, allocations: 258.7 kB / 293.8 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02052, allocations: 0 / 293.8 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.0207, allocations: 151.3 kB / 294 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.02095, allocations: 65.16 kB / 294 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.02193, allocations: 0.7545 MB / 294.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.678e-05/0.02199, allocations: 101.1 kB / 294.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.365e-05/0.02207, allocations: 30.98 kB / 294.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.02221, allocations: 134.2 kB / 295 MB, free: 14.78 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02221, allocations: 0 / 295 MB, free: 14.78 MB / 282.7 MB Notification: Performance of Templates: time 0.007224/0.02943, allocations: 5.424 MB / 300.5 MB, free: 9.422 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.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.682933941949159]