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.00177/0.00177, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002134/0.002134, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.001495/0.001495, allocations: 47.91 kB / 379 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2309, allocations: 53.35 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004499/0.2354, allocations: 3.199 MB / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2369, allocations: 0.8622 MB / 436.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.2371, allocations: 7.938 kB / 436.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.2373, allocations: 63.38 kB / 436.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.2375, allocations: 114.9 kB / 436.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.2379, allocations: 159.7 kB / 436.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.2384, allocations: 0.5462 MB / 437.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.2387, allocations: 128.8 kB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.239, allocations: 231.2 kB / 437.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.2393, allocations: 259 kB / 437.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.59e-05/0.2394, allocations: 52 kB / 438 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.2395, allocations: 56 kB / 438.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.2396, allocations: 111.6 kB / 438.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.2398, allocations: 250.8 kB / 438.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006046/0.2404, allocations: 0.5577 MB / 439 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2404, allocations: 0 / 439 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2404, allocations: 0 / 439 MB, free: 316 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2404, allocations: 0 / 439 MB, free: 316 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.001564/0.242, allocations: 0.7314 MB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.242, allocations: 8.031 kB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.2422, allocations: 64.59 kB / 439.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.2427, allocations: 261.1 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.2427, allocations: 33.31 kB / 440.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.2428, allocations: 40.31 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2439, allocations: 0.5048 MB / 440.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2439, allocations: 0 / 440.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.2439, allocations: 20 kB / 440.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2439, allocations: 8 kB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.2452, allocations: 0.5035 MB / 441.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.002585/0.2478, allocations: 1.613 MB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2488, allocations: 401.3 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/0.2493, allocations: 221.4 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.2494, allocations: 8.328 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2494, allocations: 42.83 kB / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.764e-06/0.2494, allocations: 0 / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004656/0.2541, allocations: 1.21 MB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2542, allocations: 158.2 kB / 444.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.2545, allocations: 276.2 kB / 445 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.2545, allocations: 37.7 kB / 445.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.2547, allocations: 216.7 kB / 445.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2548, allocations: 138.8 kB / 445.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.255, allocations: 74.12 kB / 445.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2551, allocations: 342.8 kB / 445.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.2556, allocations: 184.8 kB / 446 MB, free: 8.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.2562, allocations: 286.5 kB / 446.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.2571, allocations: 422.6 kB / 446.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.2571, allocations: 0 / 446.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001795/0.2589, allocations: 0.6781 MB / 447.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2589, allocations: 4 kB / 447.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2589, allocations: 4 kB / 447.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.2602, allocations: 317.4 kB / 447.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.2605, allocations: 83.88 kB / 447.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2619, allocations: 1.343 MB / 449.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.2623, allocations: 79.92 kB / 449.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.2623, allocations: 20 kB / 449.2 MB, free: 5.602 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.0002132/0.2626, allocations: 165.6 kB / 449.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.2626, allocations: 39.8 kB / 449.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.2647, allocations: 0.7162 MB / 450.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2647, allocations: 4 kB / 450.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2647, allocations: 0 / 450.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.2647, allocations: 7.984 kB / 450.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.2653, allocations: 440.2 kB / 450.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2653, allocations: 0 / 450.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.2656, allocations: 63.89 kB / 450.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.2668, allocations: 321.3 kB / 451 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.2668, allocations: 11.98 kB / 451 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.2681, allocations: 1.354 MB / 452.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2681, allocations: 0 / 452.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.2706, allocations: 1.027 MB / 453.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.2707, allocations: 39.67 kB / 453.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.2707, allocations: 12 kB / 453.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.2711, allocations: 39.94 kB / 453.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.2712, allocations: 27.73 kB / 453.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.2712, allocations: 16.06 kB / 453.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.2714, allocations: 195.1 kB / 453.7 MB, free: 1 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2714, allocations: 0 / 453.7 MB, free: 1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.2719, allocations: 107.9 kB / 453.8 MB, free: 0.8945 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.0001622/0.272, allocations: 115 kB / 453.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.2733, allocations: 459.6 kB / 454.3 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2733, allocations: 8.125 kB / 454.3 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005818/0.2738, allocations: 235.9 kB / 454.6 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.2742, allocations: 56.55 kB / 454.6 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.276, allocations: 0.908 MB / 455.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2764, allocations: 0.7994 MB / 456.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.2765, allocations: 35.36 kB / 456.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2765, allocations: 8 kB / 456.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01007/0.2866, allocations: 7.215 MB / 463.6 MB, free: 7.012 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/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.299173149978742]