Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001392/0.001392, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001696/0.001696, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0032/0.0032, allocations: 59.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3197, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004311/0.324, allocations: 2.865 MB / 399.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3257, allocations: 0.7976 MB / 400.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.3258, allocations: 5.781 kB / 400.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.326, allocations: 61.97 kB / 400.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.3262, allocations: 116 kB / 400.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.3267, allocations: 143 kB / 400.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.3272, allocations: 0.5409 MB / 401.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3275, allocations: 117.2 kB / 401.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.3278, allocations: 218.2 kB / 401.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3281, allocations: 217 kB / 401.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.261e-05/0.3282, allocations: 55.19 kB / 402 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.3283, allocations: 54.42 kB / 402 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3284, allocations: 118.6 kB / 402.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.3286, allocations: 203 kB / 402.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.3293, allocations: 0.5546 MB / 402.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3293, allocations: 0 / 402.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3293, allocations: 4 kB / 402.9 MB, free: 5.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.3293, allocations: 1.031 kB / 402.9 MB, free: 5.746 MB / 318.1 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.001607/0.3309, allocations: 0.7222 MB / 403.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3309, allocations: 13.05 kB / 403.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.331, allocations: 49.03 kB / 403.7 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.3315, allocations: 251.6 kB / 403.9 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.3315, allocations: 28.75 kB / 403.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.3316, allocations: 37.09 kB / 404 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.3327, allocations: 0.6523 MB / 404.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.3328, allocations: 5.641 kB / 404.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.3328, allocations: 16.22 kB / 404.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3328, allocations: 7.812 kB / 404.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.3341, allocations: 0.4953 MB / 405.2 MB, free: 4.445 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.3365, allocations: 1.192 MB / 406.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.3377, allocations: 400.7 kB / 406.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.3382, allocations: 222.6 kB / 407 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.3382, allocations: 13.45 kB / 407 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3382, allocations: 38.47 kB / 407 MB, free: 3.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.3383, allocations: 3.938 kB / 407 MB, free: 3.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.005089/0.3433, allocations: 1.213 MB / 408.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.3434, allocations: 167.6 kB / 408.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.3437, allocations: 254.3 kB / 408.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.3438, allocations: 36.27 kB / 408.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3439, allocations: 207.6 kB / 408.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.344, allocations: 150.8 kB / 409 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.3441, allocations: 75.81 kB / 409.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.3442, allocations: 342.5 kB / 409.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.3447, allocations: 186 kB / 409.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.3453, allocations: 380 kB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.3463, allocations: 425.7 kB / 410.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3463, allocations: 0 / 410.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001788/0.3481, allocations: 0.6705 MB / 411.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3481, allocations: 10.31 kB / 411.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3481, allocations: 5.453 kB / 411.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.3494, allocations: 322.8 kB / 411.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.3497, allocations: 82.09 kB / 411.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3509, allocations: 1.345 MB / 412.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.3513, allocations: 71.94 kB / 412.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.3514, allocations: 19.7 kB / 412.9 MB, free: 15.54 MB / 334.1 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.0002106/0.3516, allocations: 158 kB / 413.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.3517, allocations: 34.73 kB / 413.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.3538, allocations: 0.7217 MB / 413.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3538, allocations: 3.906 kB / 413.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3538, allocations: 0.75 kB / 413.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3538, allocations: 7.984 kB / 413.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.3544, allocations: 331.4 kB / 414.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.3544, allocations: 0 / 414.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.3547, allocations: 62.86 kB / 414.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.3559, allocations: 323.1 kB / 414.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.3559, allocations: 10.25 kB / 414.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.3573, allocations: 1.357 MB / 415.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3573, allocations: 3.984 kB / 415.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.3599, allocations: 1.009 MB / 416.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.36, allocations: 33.28 kB / 417 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.3601, allocations: 11.66 kB / 417 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.3604, allocations: 42.06 kB / 417 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.3605, allocations: 24.2 kB / 417 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.3605, allocations: 11.95 kB / 417 MB, free: 12.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.3608, allocations: 189.3 kB / 417.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3608, allocations: 0 / 417.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.3612, allocations: 117 kB / 417.3 MB, free: 12.49 MB / 334.1 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.0001733/0.3614, allocations: 122.8 kB / 417.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.3627, allocations: 447.4 kB / 417.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3627, allocations: 1.25 kB / 417.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.3633, allocations: 241.1 kB / 418.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.3637, allocations: 48.02 kB / 418.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.3654, allocations: 0.8642 MB / 419 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3657, allocations: 198.9 kB / 419.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.3658, allocations: 29.25 kB / 419.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.3659, allocations: 25.47 kB / 419.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3659, allocations: 0 / 419.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Templates: time 0.01128/0.3771, allocations: 5.449 MB / 424.7 MB, free: 6.66 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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: 5.062215840443969]