Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001541/0.001541, allocations: 101.8 kB / 21.93 MB, free: 5.203 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.001584/0.001584, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 70.52 kB / 348.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3053, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004523/0.3098, allocations: 2.849 MB / 400.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3117, allocations: 0.8139 MB / 401.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.3119, allocations: 5.906 kB / 401.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.3121, allocations: 57.2 kB / 401.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.3123, allocations: 120.2 kB / 401.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.3128, allocations: 147.5 kB / 401.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005243/0.3133, allocations: 0.5295 MB / 402.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.3136, allocations: 117 kB / 402.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.3139, allocations: 213.5 kB / 402.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.3142, allocations: 228.5 kB / 402.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.671e-05/0.3143, allocations: 51.5 kB / 402.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3144, allocations: 59.27 kB / 402.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.3145, allocations: 109.7 kB / 402.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.3147, allocations: 205.5 kB / 403.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.3154, allocations: 0.5563 MB / 403.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3154, allocations: 0 / 403.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3154, allocations: 1.344 kB / 403.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3154, allocations: 0 / 403.6 MB, free: 5.754 MB / 318.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.001579/0.317, allocations: 0.7289 MB / 404.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.317, allocations: 13.73 kB / 404.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3171, allocations: 53.22 kB / 404.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.3176, allocations: 252.5 kB / 404.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.3176, allocations: 27.66 kB / 404.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.3177, allocations: 36.19 kB / 404.7 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.3188, allocations: 0.658 MB / 405.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3188, allocations: 1.188 kB / 405.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.3189, allocations: 15.34 kB / 405.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3189, allocations: 9.031 kB / 405.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.3202, allocations: 0.4984 MB / 405.9 MB, free: 4.438 MB / 318.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.002299/0.3225, allocations: 1.177 MB / 407.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3235, allocations: 408 kB / 407.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.324, allocations: 219.6 kB / 407.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.324, allocations: 11.23 kB / 407.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3241, allocations: 40.05 kB / 407.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.505e-06/0.3241, allocations: 0 / 407.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004881/0.3289, allocations: 1.211 MB / 409 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.329, allocations: 159 kB / 409.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.3293, allocations: 262.7 kB / 409.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.3294, allocations: 32.58 kB / 409.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3295, allocations: 215 kB / 409.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.298e-05/0.3296, allocations: 151.5 kB / 409.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3297, allocations: 75.78 kB / 409.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.3298, allocations: 343 kB / 410.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.3303, allocations: 185.3 kB / 410.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.3308, allocations: 384.8 kB / 410.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009127/0.3317, allocations: 419.7 kB / 411.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3317, allocations: 1.344 kB / 411.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001745/0.3335, allocations: 0.6741 MB / 411.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3335, allocations: 11.16 kB / 411.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3335, allocations: 1.656 kB / 411.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.3348, allocations: 317.4 kB / 412.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.3351, allocations: 76.78 kB / 412.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.3363, allocations: 1.355 MB / 413.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.3368, allocations: 75.38 kB / 413.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3369, allocations: 11.62 kB / 413.7 MB, free: 15.55 MB / 334.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.0002601/0.3371, allocations: 160.7 kB / 413.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.3372, allocations: 37.05 kB / 413.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.3394, allocations: 0.724 MB / 414.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3394, allocations: 4.312 kB / 414.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3394, allocations: 1.125 kB / 414.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3394, allocations: 0 / 414.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.34, allocations: 339.7 kB / 414.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.34, allocations: 4 kB / 414.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.3403, allocations: 62.83 kB / 415 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.3415, allocations: 315.2 kB / 415.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.3415, allocations: 10.72 kB / 415.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.343, allocations: 1.36 MB / 416.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.343, allocations: 4.938 kB / 416.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.3457, allocations: 1.008 MB / 417.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3458, allocations: 34.11 kB / 417.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.3458, allocations: 6.531 kB / 417.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.3462, allocations: 46.86 kB / 417.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.3463, allocations: 27.56 kB / 417.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.3463, allocations: 8.844 kB / 417.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.3466, allocations: 183.7 kB / 418 MB, free: 12.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3466, allocations: 192 / 418 MB, free: 12.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005022/0.3471, allocations: 114.1 kB / 418.1 MB, free: 12.5 MB / 334.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.000204/0.3473, allocations: 109.9 kB / 418.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.3486, allocations: 452.4 kB / 418.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3486, allocations: 5.312 kB / 418.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.3492, allocations: 244.2 kB / 418.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3496, allocations: 44.92 kB / 418.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3515, allocations: 0.9077 MB / 419.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.3517, allocations: 195.1 kB / 420 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.3518, allocations: 28.33 kB / 420 MB, free: 11.31 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3518, allocations: 0 / 420 MB, free: 11.31 MB / 334.1 MB Notification: Performance of Templates: time 0.01156/0.3633, allocations: 7.204 MB / 427.3 MB, free: 4.918 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.935172374825925]