Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002402/0.002402, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2656, allocations: 53.4 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004942/0.2705, allocations: 3.198 MB / 435.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.2724, allocations: 0.8623 MB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2727, allocations: 7.938 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.2729, allocations: 59.38 kB / 436.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.2731, allocations: 110.9 kB / 436.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.2736, allocations: 167.7 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005939/0.2741, allocations: 0.5423 MB / 437.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.2744, allocations: 124.8 kB / 437.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.2748, allocations: 235.2 kB / 437.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.2751, allocations: 259 kB / 438 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.894e-05/0.2752, allocations: 52 kB / 438 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.2754, allocations: 59.98 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.2755, allocations: 111.7 kB / 438.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2757, allocations: 246.8 kB / 438.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.2764, allocations: 0.5538 MB / 439 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2764, allocations: 0 / 439 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2764, allocations: 0 / 439 MB, free: 168 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2764, allocations: 0 / 439 MB, free: 168 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.001653/0.278, allocations: 0.7352 MB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2781, allocations: 8.031 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.2783, allocations: 64.59 kB / 439.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.2788, allocations: 269.1 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.2788, allocations: 29.31 kB / 440.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.2789, allocations: 36.38 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.28, allocations: 0.5087 MB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.28, allocations: 11.88 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.28, allocations: 16 kB / 440.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.28, allocations: 8 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.2814, allocations: 0.4996 MB / 441.2 MB, free: 13.91 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.002713/0.2841, allocations: 1.609 MB / 442.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.2852, allocations: 409.2 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.2857, allocations: 216.8 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.2857, allocations: 16.31 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2858, allocations: 38.89 kB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.985e-06/0.2858, allocations: 4 kB / 443.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004872/0.2907, allocations: 1.207 MB / 444.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.2908, allocations: 166.2 kB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.2911, allocations: 272.2 kB / 445.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.2912, allocations: 37.7 kB / 445.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.2913, allocations: 212.7 kB / 445.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.2915, allocations: 142.8 kB / 445.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.2916, allocations: 74.12 kB / 445.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2918, allocations: 338.8 kB / 445.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.2923, allocations: 188.7 kB / 446.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.2929, allocations: 282.5 kB / 446.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009889/0.2939, allocations: 426.5 kB / 446.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2939, allocations: 0 / 446.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00187/0.2957, allocations: 0.6743 MB / 447.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2958, allocations: 7.938 kB / 447.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.2958, allocations: 4 kB / 447.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.2971, allocations: 309.5 kB / 447.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.2975, allocations: 87.88 kB / 447.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2989, allocations: 1.354 MB / 449.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.2994, allocations: 75.67 kB / 449.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.2994, allocations: 16 kB / 449.3 MB, free: 5.445 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.0002269/0.2996, allocations: 157.8 kB / 449.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.2997, allocations: 39.77 kB / 449.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.3018, allocations: 0.7162 MB / 450.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3018, allocations: 11.94 kB / 450.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3018, allocations: 4 kB / 450.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3018, allocations: 8.016 kB / 450.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.3024, allocations: 444.2 kB / 450.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3024, allocations: 0 / 450.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.3027, allocations: 55.95 kB / 450.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.3039, allocations: 321.4 kB / 451 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3039, allocations: 7.984 kB / 451 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.3053, allocations: 1.354 MB / 452.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3053, allocations: 4.031 kB / 452.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.3078, allocations: 1.016 MB / 453.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.3079, allocations: 43.66 kB / 453.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.3079, allocations: 12 kB / 453.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.3083, allocations: 39.95 kB / 453.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.3084, allocations: 35.72 kB / 453.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.3084, allocations: 16 kB / 453.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.3086, allocations: 191.1 kB / 453.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3086, allocations: 0 / 453.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.3091, allocations: 107.9 kB / 453.8 MB, free: 0.7422 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.0001791/0.3092, allocations: 107.2 kB / 453.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3105, allocations: 463.8 kB / 454.4 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.3105, allocations: 4 kB / 454.4 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006171/0.3112, allocations: 232 kB / 454.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.3116, allocations: 53.02 kB / 454.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.3134, allocations: 0.9143 MB / 455.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.3138, allocations: 0.7956 MB / 456.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.3139, allocations: 39.25 kB / 456.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3139, allocations: 4 kB / 456.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01039/0.3243, allocations: 7.21 MB / 463.6 MB, free: 6.871 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.957741443999112]