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.001388/0.001388, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001701/0.001701, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 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.5/1.5, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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 1.683e-06/1.683e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.737e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006271/0.006298, allocations: 2.931 MB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.008527, allocations: 0.8272 MB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.00874, allocations: 8 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.00901, allocations: 59.38 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.009353, allocations: 122.8 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.00993, allocations: 163.7 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008779/0.01081, allocations: 0.5694 MB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.01113, allocations: 116.8 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.01179, allocations: 331.3 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.01219, allocations: 195.5 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.01231, allocations: 52 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.01248, allocations: 56 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.01264, allocations: 115.6 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.01293, allocations: 167.6 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009967/0.01393, allocations: 0.592 MB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01393, allocations: 4 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01393, allocations: 0 / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.01394, allocations: 0 / 278.5 MB, free: 11.47 MB / 266.7 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.002223/0.01617, allocations: 0.7234 MB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.01621, allocations: 11.98 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.01649, allocations: 96.59 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.01701, allocations: 260.5 kB / 279.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.01705, allocations: 29.38 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.01714, allocations: 40.38 kB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.01843, allocations: 0.6517 MB / 280.3 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.01845, allocations: 4.188 kB / 280.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.0185, allocations: 16.38 kB / 280.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.01851, allocations: 11.94 kB / 280.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.01992, allocations: 0.4996 MB / 280.8 MB, free: 9.023 MB / 266.7 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.002582/0.0225, allocations: 1.194 MB / 282 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.02371, allocations: 399.7 kB / 282.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/0.02426, allocations: 221.3 kB / 282.6 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.02431, allocations: 12.31 kB / 282.6 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.02435, allocations: 38.89 kB / 282.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.833e-06/0.02435, allocations: 0 / 282.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.005255/0.0296, allocations: 1.222 MB / 283.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.02973, allocations: 162.2 kB / 284.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.03014, allocations: 272.1 kB / 284.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.03019, allocations: 29.7 kB / 284.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.03039, allocations: 220.7 kB / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.03055, allocations: 138.7 kB / 284.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.03072, allocations: 86.14 kB / 284.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.03095, allocations: 350.7 kB / 285.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.03152, allocations: 180.9 kB / 285.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007621/0.03228, allocations: 386 kB / 285.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.0334, allocations: 422.6 kB / 286.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.0334, allocations: 0 / 286.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002157/0.03556, allocations: 0.6861 MB / 286.8 MB, free: 2.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.03558, allocations: 4 kB / 286.8 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.03559, allocations: 4 kB / 286.8 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.03704, allocations: 321.4 kB / 287.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.03741, allocations: 91.81 kB / 287.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.03916, allocations: 1.347 MB / 288.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.03967, allocations: 75.84 kB / 288.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.03971, allocations: 19.92 kB / 288.6 MB, free: 0.8867 MB / 266.7 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.0002461/0.03995, allocations: 153.8 kB / 288.8 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.04007, allocations: 47.77 kB / 288.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.04247, allocations: 0.7162 MB / 289.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.04248, allocations: 8 kB / 289.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.04249, allocations: 0 / 289.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.04249, allocations: 3.984 kB / 289.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.04304, allocations: 332.6 kB / 289.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.04304, allocations: 0 / 289.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.04337, allocations: 63.88 kB / 289.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.04469, allocations: 321.4 kB / 290.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.04472, allocations: 12 kB / 290.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.04635, allocations: 1.366 MB / 291.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.04635, allocations: 0 / 291.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.04941, allocations: 1.031 MB / 292.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.04949, allocations: 31.72 kB / 292.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.04955, allocations: 8 kB / 292.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.04993, allocations: 47.94 kB / 292.8 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.05002, allocations: 23.95 kB / 292.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.05006, allocations: 15.98 kB / 292.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002788/0.05034, allocations: 187.1 kB / 293 MB, free: 12.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05034, allocations: 4.062 kB / 293 MB, free: 12.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004738/0.05081, allocations: 115.8 kB / 293.1 MB, free: 12.29 MB / 282.7 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.0002177/0.05103, allocations: 103.2 kB / 293.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.05246, allocations: 461.3 kB / 293.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.05246, allocations: 0 / 293.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006659/0.05312, allocations: 256.3 kB / 293.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.05356, allocations: 48.64 kB / 293.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.0554, allocations: 0.8141 MB / 294.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.05563, allocations: 195 kB / 294.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.05576, allocations: 26.98 kB / 295 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.05584, allocations: 32.48 kB / 295 MB, free: 10.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.05584, allocations: 0 / 295 MB, free: 10.33 MB / 282.7 MB Notification: Performance of Templates: time 0.01125/0.06709, allocations: 4.974 MB / 300 MB, free: 5.41 MB / 282.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/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: 4.621772431069985]