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.001808/0.001808, allocations: 69.33 kB / 21.24 MB, free: 0.5547 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.002188/0.002188, allocations: 162.2 kB / 24.5 MB, free: 3.711 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.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.001534/0.001534, allocations: 55.81 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09452, allocations: 53.33 MB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004961/0.09948, allocations: 2.924 MB / 381.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1013, allocations: 0.8234 MB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.1016, allocations: 8 kB / 382.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1019, allocations: 63.31 kB / 382.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.1022, allocations: 118.9 kB / 382.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.1027, allocations: 167.7 kB / 383 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000678/0.1033, allocations: 0.5385 MB / 383.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.1036, allocations: 124.8 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.104, allocations: 239.2 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.1043, allocations: 223 kB / 384.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.1044, allocations: 52 kB / 384.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1046, allocations: 60 kB / 384.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1047, allocations: 111.7 kB / 384.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.1049, allocations: 207 kB / 384.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.1056, allocations: 0.5565 MB / 385.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1056, allocations: 0 / 385.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1056, allocations: 0 / 385.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1056, allocations: 0 / 385.1 MB, free: 9.406 MB / 350.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.001727/0.1073, allocations: 0.7352 MB / 385.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1074, allocations: 8.031 kB / 385.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.1076, allocations: 64.59 kB / 385.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.1081, allocations: 253.3 kB / 386.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.1081, allocations: 29.38 kB / 386.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.1082, allocations: 36.38 kB / 386.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.1095, allocations: 0.6593 MB / 386.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1095, allocations: 0 / 386.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.1095, allocations: 16 kB / 386.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1095, allocations: 16 kB / 386.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.111, allocations: 0.4957 MB / 387.4 MB, free: 6.988 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.002589/0.1135, allocations: 1.186 MB / 388.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.1147, allocations: 406.5 kB / 389 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.1152, allocations: 228.6 kB / 389.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1153, allocations: 4.328 kB / 389.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1153, allocations: 38.89 kB / 389.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.1153, allocations: 0 / 389.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005097/0.1204, allocations: 1.207 MB / 390.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.1205, allocations: 166.2 kB / 390.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.1209, allocations: 276.1 kB / 390.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.1209, allocations: 29.7 kB / 390.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1211, allocations: 216.7 kB / 391.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.1212, allocations: 138.8 kB / 391.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.1214, allocations: 82.14 kB / 391.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1215, allocations: 342.8 kB / 391.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.1221, allocations: 184.9 kB / 391.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.1228, allocations: 382 kB / 392.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.1239, allocations: 426.5 kB / 392.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1239, allocations: 0 / 392.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001994/0.1259, allocations: 0.6704 MB / 393.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1259, allocations: 16 kB / 393.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1259, allocations: 0 / 393.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.1273, allocations: 321.4 kB / 393.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.1276, allocations: 75.88 kB / 393.7 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.1291, allocations: 1.358 MB / 395.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.1296, allocations: 71.72 kB / 395.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.1296, allocations: 12 kB / 395.2 MB, free: 14.9 MB / 366.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.0002185/0.1298, allocations: 165.8 kB / 395.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/0.1299, allocations: 39.75 kB / 395.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.1322, allocations: 0.7123 MB / 396.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1322, allocations: 4 kB / 396.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1322, allocations: 4 kB / 396.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.1322, allocations: 3.984 kB / 396.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.1327, allocations: 317 kB / 396.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1327, allocations: 8 kB / 396.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.133, allocations: 55.89 kB / 396.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.1343, allocations: 329.2 kB / 396.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.1344, allocations: 11.98 kB / 396.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.1359, allocations: 1.358 MB / 398.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1359, allocations: 192 / 398.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/0.1388, allocations: 1.019 MB / 399.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.1388, allocations: 43.61 kB / 399.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.1389, allocations: 8 kB / 399.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.1393, allocations: 44.02 kB / 399.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.1394, allocations: 31.72 kB / 399.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.1394, allocations: 12 kB / 399.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.1397, allocations: 191.1 kB / 399.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1397, allocations: 4 kB / 399.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004443/0.1401, allocations: 103.9 kB / 399.6 MB, free: 10.33 MB / 366.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.0001754/0.1403, allocations: 115.1 kB / 399.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.1417, allocations: 455.5 kB / 400.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.1417, allocations: 3.938 kB / 400.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006575/0.1424, allocations: 235.9 kB / 400.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1427, allocations: 48.89 kB / 400.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.1446, allocations: 0.8828 MB / 401.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1448, allocations: 191 kB / 401.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1449, allocations: 34.97 kB / 401.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.145, allocations: 28.48 kB / 401.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.145, allocations: 3.938 kB / 401.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of Templates: time 0.01098/0.156, allocations: 4.988 MB / 406.6 MB, free: 3.371 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 ida -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.531406954978593]