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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009059/0.0009059, allocations: 96.09 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 204.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.7 MB / 247.5 MB, free: 11.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002328/0.0002327, allocations: 8 kB / 308.4 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09578, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003439/0.09926, allocations: 2.813 MB / 362.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.101, allocations: 0.8431 MB / 363.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.1014, allocations: 8 kB / 363.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.1016, allocations: 39.62 kB / 363.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1019, allocations: 103.2 kB / 363.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.1024, allocations: 135.8 kB / 363.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000611/0.103, allocations: 0.5113 MB / 364.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.1033, allocations: 144.8 kB / 364.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.1037, allocations: 195.3 kB / 364.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.104, allocations: 227 kB / 364.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.1041, allocations: 28 kB / 364.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1042, allocations: 35.98 kB / 365 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.1043, allocations: 87.66 kB / 365.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.1045, allocations: 236.5 kB / 365.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.1049, allocations: 415.1 kB / 365.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.105, allocations: 3.938 kB / 365.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.105, allocations: 0 / 365.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.105, allocations: 0 / 365.7 MB, free: 7.445 MB / 302.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.001568/0.1066, allocations: 0.7643 MB / 366.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1066, allocations: 8.031 kB / 366.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.1068, allocations: 56.45 kB / 366.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.1073, allocations: 319.3 kB / 366.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.1073, allocations: 25.38 kB / 366.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/0.1074, allocations: 36.38 kB / 366.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1086, allocations: 0.5321 MB / 367.4 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1086, allocations: 4 kB / 367.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.1087, allocations: 12 kB / 367.5 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1087, allocations: 15.94 kB / 367.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.1102, allocations: 0.5699 MB / 368 MB, free: 5.004 MB / 302.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.002617/0.1128, allocations: 1.694 MB / 369.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1139, allocations: 471.5 kB / 370.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.1145, allocations: 265.4 kB / 370.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.1146, allocations: 12.31 kB / 370.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1146, allocations: 38.89 kB / 370.5 MB, free: 2.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.1146, allocations: 0 / 370.5 MB, free: 2.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005309/0.1199, allocations: 1.548 MB / 372 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.1201, allocations: 162.2 kB / 372.2 MB, free: 0.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.1204, allocations: 279 kB / 372.5 MB, free: 308 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.1205, allocations: 29.7 kB / 372.5 MB, free: 272 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1206, allocations: 212.3 kB / 372.7 MB, free: 56 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1683/0.289, allocations: 124 kB / 372.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.2891, allocations: 39.14 kB / 372.9 MB, free: 19.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2893, allocations: 343.8 kB / 373.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/0.29, allocations: 208.7 kB / 373.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/0.2908, allocations: 300.5 kB / 373.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.292, allocations: 473.6 kB / 374.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.292, allocations: 0 / 374.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002175/0.2942, allocations: 0.747 MB / 374.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.2942, allocations: 5.969 kB / 374.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.2942, allocations: 2.438 kB / 374.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.2957, allocations: 337.8 kB / 375.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.2962, allocations: 85.81 kB / 375.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.2977, allocations: 1.368 MB / 376.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/0.2982, allocations: 99.75 kB / 376.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.2983, allocations: 15.25 kB / 376.8 MB, free: 17.93 MB / 302.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.0002431/0.2985, allocations: 159.3 kB / 377 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.2986, allocations: 33.5 kB / 377 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.301, allocations: 0.8243 MB / 377.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.301, allocations: 3.938 kB / 377.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.301, allocations: 5.281 kB / 377.8 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.301, allocations: 2.625 kB / 377.8 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.3017, allocations: 473.3 kB / 378.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3017, allocations: 3.938 kB / 378.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.302, allocations: 67.28 kB / 378.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.3033, allocations: 339.5 kB / 378.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.3034, allocations: 11.73 kB / 378.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3045, allocations: 1.375 MB / 380.1 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3045, allocations: 0 / 380.1 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.3073, allocations: 1.129 MB / 381.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.3074, allocations: 116.3 kB / 381.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.3074, allocations: 7.953 kB / 381.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.3079, allocations: 60.5 kB / 381.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.308, allocations: 26.77 kB / 381.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.308, allocations: 16.69 kB / 381.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002694/0.3083, allocations: 196.7 kB / 381.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3083, allocations: 0 / 381.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004825/0.3088, allocations: 114.6 kB / 381.7 MB, free: 15.48 MB / 302.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.0001841/0.309, allocations: 111.9 kB / 381.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.3105, allocations: 0.5137 MB / 382.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3105, allocations: 1.656 kB / 382.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000662/0.3111, allocations: 284.2 kB / 382.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.3116, allocations: 49.69 kB / 382.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3136, allocations: 1.139 MB / 383.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3139, allocations: 0.7987 MB / 384.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.314, allocations: 25.7 kB / 384.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of SimCode: time 9.31e-07/0.314, allocations: 192 / 384.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01253/0.3265, allocations: 7.151 MB / 391.8 MB, free: 11.21 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches