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.001839/0.001839, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002511/0.002511, allocations: 212.2 kB / 24.48 MB, free: 3.977 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 2.24/2.24, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 177] 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.002278/0.002278, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3315, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005509/0.337, allocations: 2.925 MB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.3391, allocations: 0.8117 MB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.3394, allocations: 11.94 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.3396, allocations: 67.3 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.3399, allocations: 114.9 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.3405, allocations: 159.7 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007115/0.3412, allocations: 0.554 MB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.3415, allocations: 120.4 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.3419, allocations: 231.3 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.3423, allocations: 262.9 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.823e-05/0.3424, allocations: 52 kB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.3426, allocations: 60 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3427, allocations: 111.7 kB / 437.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.343, allocations: 199.2 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007936/0.3438, allocations: 0.571 MB / 438.6 MB, free: 488 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3438, allocations: 0 / 438.6 MB, free: 488 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3438, allocations: 0 / 438.6 MB, free: 488 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.3438, allocations: 0 / 438.6 MB, free: 488 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.002048/0.3458, allocations: 0.7274 MB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3459, allocations: 16.03 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002584/0.3461, allocations: 60.59 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.3467, allocations: 269.2 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.3468, allocations: 29.38 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/0.3469, allocations: 36.38 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.3484, allocations: 0.6554 MB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3484, allocations: 0 / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.3485, allocations: 19.98 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3485, allocations: 8 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.3503, allocations: 0.4918 MB / 440.9 MB, free: 14.06 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.003154/0.3534, allocations: 1.189 MB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.3549, allocations: 401.3 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/0.3555, allocations: 220.8 kB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.3556, allocations: 8.328 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.3556, allocations: 42.81 kB / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.3556, allocations: 0 / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.006591/0.3622, allocations: 1.211 MB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.3623, allocations: 158.2 kB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.3628, allocations: 276.1 kB / 444.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.3629, allocations: 33.7 kB / 444.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.3631, allocations: 212.7 kB / 444.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.3632, allocations: 154.7 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.3634, allocations: 78.08 kB / 444.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3636, allocations: 346.8 kB / 445.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006725/0.3643, allocations: 180.8 kB / 445.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008309/0.3651, allocations: 385.3 kB / 445.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.3665, allocations: 422.5 kB / 446.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3665, allocations: 4 kB / 446.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00265/0.3692, allocations: 0.6744 MB / 446.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.3692, allocations: 7.938 kB / 446.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3692, allocations: 7.984 kB / 446.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.3709, allocations: 317.4 kB / 447.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.3714, allocations: 75.94 kB / 447.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.3732, allocations: 1.347 MB / 448.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.3738, allocations: 76.03 kB / 448.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.3738, allocations: 19.98 kB / 448.6 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.0002766/0.3741, allocations: 157.7 kB / 448.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3742, allocations: 35.77 kB / 448.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.3772, allocations: 0.7201 MB / 449.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3772, allocations: 4 kB / 449.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3772, allocations: 0 / 449.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3772, allocations: 7.922 kB / 449.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.3779, allocations: 325 kB / 449.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3779, allocations: 0 / 449.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.3783, allocations: 63.88 kB / 449.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.3799, allocations: 321.4 kB / 450.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.38, allocations: 15.94 kB / 450.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.3819, allocations: 1.358 MB / 451.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3819, allocations: 0 / 451.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/0.3855, allocations: 1.012 MB / 452.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3856, allocations: 39.73 kB / 452.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.3857, allocations: 12 kB / 452.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.3862, allocations: 39.94 kB / 452.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3863, allocations: 27.73 kB / 452.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.3864, allocations: 12 kB / 452.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.3867, allocations: 199.1 kB / 453 MB, free: 1.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3867, allocations: 0 / 453 MB, free: 1.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006335/0.3873, allocations: 107.8 kB / 453.1 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.0001985/0.3875, allocations: 107.2 kB / 453.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.3895, allocations: 463.2 kB / 453.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3895, allocations: 0 / 453.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008546/0.3903, allocations: 252.3 kB / 453.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.3909, allocations: 43.33 kB / 453.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.3934, allocations: 0.8774 MB / 454.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.3937, allocations: 198.9 kB / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.3939, allocations: 30.91 kB / 455 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.073e-05/0.394, allocations: 23.44 kB / 455 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.394, allocations: 4 kB / 455 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Templates: time 0.02163/0.4156, allocations: 5.559 MB / 460.6 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/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: 7.2196430929907365]