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.00147/0.00147, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 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.001669/0.001669, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002101/0.002101, allocations: 55.91 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005224/0.3212, allocations: 2.914 MB / 434.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3229, allocations: 0.8117 MB / 435.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.3231, allocations: 11.94 kB / 435.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3233, allocations: 63.36 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.3236, allocations: 122.9 kB / 435.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.3241, allocations: 151.7 kB / 435.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006528/0.3247, allocations: 0.5618 MB / 436.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.3251, allocations: 120.4 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.3255, allocations: 231.3 kB / 436.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.3259, allocations: 259 kB / 436.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.42e-05/0.326, allocations: 56 kB / 436.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3262, allocations: 60 kB / 436.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3263, allocations: 115.6 kB / 437 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.3265, allocations: 199.2 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007968/0.3273, allocations: 0.5551 MB / 437.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.3273, allocations: 4 kB / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3273, allocations: 3.938 kB / 437.8 MB, free: 496 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.3274, allocations: 0 / 437.8 MB, free: 496 kB / 334.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.001785/0.3291, allocations: 0.7352 MB / 438.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3292, allocations: 12.03 kB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.3294, allocations: 60.59 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.3299, allocations: 265.2 kB / 438.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.33, allocations: 29.38 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.3301, allocations: 36.38 kB / 438.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.3313, allocations: 0.6554 MB / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3313, allocations: 0 / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.3313, allocations: 16 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3313, allocations: 8 kB / 439.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.3327, allocations: 0.4957 MB / 440.1 MB, free: 14.07 MB / 350.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.002619/0.3353, allocations: 1.181 MB / 441.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.3364, allocations: 407.6 kB / 441.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.3369, allocations: 228.8 kB / 441.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.337, allocations: 12.33 kB / 441.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.337, allocations: 38.83 kB / 442 MB, free: 12.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.337, allocations: 0 / 442 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005161/0.3422, allocations: 1.211 MB / 443.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.3423, allocations: 162.2 kB / 443.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.3426, allocations: 272.1 kB / 443.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.3427, allocations: 33.7 kB / 443.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3429, allocations: 216.7 kB / 443.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.343, allocations: 146.7 kB / 444 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.3431, allocations: 78.08 kB / 444.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3433, allocations: 350.7 kB / 444.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.3439, allocations: 176.8 kB / 444.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.3446, allocations: 389.3 kB / 445 MB, free: 8.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3457, allocations: 426.5 kB / 445.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.3457, allocations: 4 kB / 445.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002008/0.3477, allocations: 0.6704 MB / 446 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3477, allocations: 7.938 kB / 446.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.3477, allocations: 4 kB / 446.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.3491, allocations: 317.5 kB / 446.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.3495, allocations: 79.88 kB / 446.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.351, allocations: 1.351 MB / 447.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.3515, allocations: 71.91 kB / 447.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.3516, allocations: 19.98 kB / 447.9 MB, free: 5.969 MB / 350.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.0002155/0.3518, allocations: 161.8 kB / 448 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.3518, allocations: 35.77 kB / 448.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.3541, allocations: 0.7162 MB / 448.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.3541, allocations: 4 kB / 448.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3541, allocations: 0 / 448.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3542, allocations: 3.984 kB / 448.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.3547, allocations: 328.9 kB / 449.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3547, allocations: 0 / 449.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.355, allocations: 59.89 kB / 449.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.3563, allocations: 329.3 kB / 449.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.3564, allocations: 8 kB / 449.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.3578, allocations: 1.362 MB / 450.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3578, allocations: 0 / 450.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.3606, allocations: 1.012 MB / 451.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.3607, allocations: 35.73 kB / 451.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.3608, allocations: 12 kB / 451.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.3612, allocations: 48 kB / 452 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.3613, allocations: 27.73 kB / 452 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.3613, allocations: 12 kB / 452 MB, free: 1.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.3616, allocations: 195.1 kB / 452.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3616, allocations: 0 / 452.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.362, allocations: 107.8 kB / 452.3 MB, free: 1.402 MB / 350.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.000176/0.3622, allocations: 107.2 kB / 452.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.3635, allocations: 459.6 kB / 452.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3635, allocations: 4 kB / 452.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.3641, allocations: 235.8 kB / 453.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3645, allocations: 51.16 kB / 453.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3664, allocations: 0.8814 MB / 454 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.3666, allocations: 198.9 kB / 454.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.3667, allocations: 38.89 kB / 454.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.3668, allocations: 23.44 kB / 454.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3668, allocations: 0 / 454.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Templates: time 0.01183/0.3786, allocations: 5.56 MB / 459.8 MB, free: 9.871 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.9070045268163085]