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.001847/0.001847, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002257/0.002257, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.001603/0.001603, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2131, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004356/0.2175, allocations: 2.922 MB / 435.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2189, allocations: 0.8195 MB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2191, allocations: 11.94 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.2193, allocations: 63.31 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.2195, allocations: 110.9 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.2199, allocations: 163.7 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.2204, allocations: 0.5462 MB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.2207, allocations: 123.7 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.221, allocations: 231.3 kB / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.2213, allocations: 266.9 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.2214, allocations: 52 kB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.2215, allocations: 56 kB / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2216, allocations: 111.7 kB / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.2218, allocations: 199.2 kB / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.2224, allocations: 0.5639 MB / 438.6 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2224, allocations: 4 kB / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2224, allocations: 0 / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2224, allocations: 0 / 438.6 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.001649/0.224, allocations: 0.7352 MB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2241, allocations: 11.97 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.2243, allocations: 68.59 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.2247, allocations: 261.2 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.2247, allocations: 25.38 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.2248, allocations: 36.38 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.226, allocations: 0.6593 MB / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.226, allocations: 0 / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.2261, allocations: 16 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.2261, allocations: 8 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.2274, allocations: 0.4996 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.002382/0.2298, allocations: 1.185 MB / 442.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.2309, allocations: 403.7 kB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/0.2314, allocations: 217.4 kB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.2314, allocations: 12.31 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2315, allocations: 38.89 kB / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.744e-06/0.2315, allocations: 0 / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00506/0.2365, allocations: 1.207 MB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/0.2366, allocations: 158.2 kB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.237, allocations: 280 kB / 444.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.237, allocations: 33.7 kB / 444.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.2372, allocations: 216.7 kB / 444.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.2373, allocations: 142.7 kB / 444.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2374, allocations: 78.09 kB / 444.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2376, allocations: 346.7 kB / 445.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.2381, allocations: 188.7 kB / 445.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.2388, allocations: 385.3 kB / 445.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.2398, allocations: 426.5 kB / 446.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2398, allocations: 0 / 446.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001892/0.2417, allocations: 0.6704 MB / 446.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2417, allocations: 8 kB / 446.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2417, allocations: 3.938 kB / 446.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.2431, allocations: 313.5 kB / 447.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.2435, allocations: 87.88 kB / 447.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.2449, allocations: 1.347 MB / 448.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.2453, allocations: 75.83 kB / 448.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.2454, allocations: 16 kB / 448.6 MB, free: 5.973 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.0001909/0.2456, allocations: 153.8 kB / 448.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.2457, allocations: 39.77 kB / 448.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.2479, allocations: 0.72 MB / 449.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.2479, allocations: 4 kB / 449.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2479, allocations: 0 / 449.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.248, allocations: 43.58 kB / 449.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.2481, allocations: 11.98 kB / 449.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.2484, allocations: 40.14 kB / 449.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.2485, allocations: 23.95 kB / 449.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00265/0.2512, allocations: 0.8022 MB / 450.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001688/0.2528, allocations: 0.8557 MB / 451.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000457/0.2533, allocations: 179.9 kB / 451.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.2535, allocations: 191.1 kB / 451.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.2535, allocations: 4 kB / 451.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.2548, allocations: 376.6 kB / 452.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of SimCode: time 0.001636/0.2564, allocations: 1.373 MB / 453.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Templates: time 0.01158/0.268, allocations: 6.418 MB / 459.9 MB, free: 10.69 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: 4.502139882002666]