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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 106.4 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 51.91 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1187, allocations: 46.61 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004699/0.1235, allocations: 3.097 MB / 378.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1251, allocations: 0.8275 MB / 379.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1253, allocations: 8 kB / 379.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1255, allocations: 59.36 kB / 379.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.1257, allocations: 106.9 kB / 379.2 MB, free: 476 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.1261, allocations: 151.7 kB / 379.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.276/0.4021, allocations: 0.5348 MB / 379.9 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/0.4027, allocations: 161.5 kB / 380.1 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004494/0.4031, allocations: 216 kB / 380.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.4036, allocations: 254 kB / 380.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.4037, allocations: 51.75 kB / 380.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.4039, allocations: 58.03 kB / 380.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.404, allocations: 116.3 kB / 380.8 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.4043, allocations: 235.2 kB / 381 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007242/0.4051, allocations: 0.5476 MB / 381.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4051, allocations: 0 / 381.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4051, allocations: 0 / 381.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4051, allocations: 0 / 381.5 MB, free: 9.664 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.001657/0.4068, allocations: 0.7889 MB / 382.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4068, allocations: 8.25 kB / 382.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.4069, allocations: 44.81 kB / 382.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.4074, allocations: 310.8 kB / 382.7 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.4074, allocations: 29.44 kB / 382.7 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.523e-05/0.4075, allocations: 40.39 kB / 382.8 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.4087, allocations: 0.5007 MB / 383.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.4087, allocations: 3.938 kB / 383.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.4088, allocations: 20.09 kB / 383.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.4088, allocations: 9.312 kB / 383.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.4102, allocations: 0.4976 MB / 383.8 MB, free: 8.812 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.002735/0.4129, allocations: 1.665 MB / 385.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.4141, allocations: 426.2 kB / 385.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.4146, allocations: 239.4 kB / 386.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.4147, allocations: 15.14 kB / 386.1 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.4147, allocations: 37.64 kB / 386.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.4147, allocations: 1.25 kB / 386.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.005164/0.4199, allocations: 1.366 MB / 387.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.42, allocations: 160.6 kB / 387.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.4204, allocations: 269.2 kB / 387.9 MB, free: 6.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.4204, allocations: 36.8 kB / 388 MB, free: 6.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4206, allocations: 211.8 kB / 388.2 MB, free: 6.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4207, allocations: 131.8 kB / 388.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.4208, allocations: 79.61 kB / 388.4 MB, free: 6.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4209, allocations: 344 kB / 388.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.4215, allocations: 180.5 kB / 388.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.4221, allocations: 287.2 kB / 389.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.4231, allocations: 425.8 kB / 389.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4231, allocations: 4.625 kB / 389.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001964/0.4251, allocations: 0.6703 MB / 390.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.4251, allocations: 11.48 kB / 390.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4252, allocations: 5.156 kB / 390.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.4265, allocations: 317 kB / 390.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.4269, allocations: 85.7 kB / 390.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.428, allocations: 1.344 MB / 392 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.4285, allocations: 80.67 kB / 392.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.4286, allocations: 16.28 kB / 392.1 MB, free: 4.156 MB / 318.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.0002065/0.4288, allocations: 153 kB / 392.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.4289, allocations: 31.72 kB / 392.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.4311, allocations: 0.744 MB / 393 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.4311, allocations: 7.766 kB / 393 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4311, allocations: 1.188 kB / 393.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.4311, allocations: 2.672 kB / 393.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.4318, allocations: 462.9 kB / 393.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4318, allocations: 0 / 393.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.4321, allocations: 59.64 kB / 393.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.4333, allocations: 322.6 kB / 393.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.4333, allocations: 13.31 kB / 393.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.4343, allocations: 1.359 MB / 395.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4344, allocations: 1.25 kB / 395.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.4369, allocations: 1.016 MB / 396.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.437, allocations: 111.7 kB / 396.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.4371, allocations: 9.125 kB / 396.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.4374, allocations: 42.84 kB / 396.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.4375, allocations: 24.45 kB / 396.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.4376, allocations: 9.844 kB / 396.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.4378, allocations: 198.9 kB / 396.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4378, allocations: 3.938 kB / 396.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.4383, allocations: 111 kB / 396.8 MB, free: 1.473 MB / 318.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.0001721/0.4384, allocations: 112.8 kB / 396.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.4398, allocations: 473.1 kB / 397.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4398, allocations: 4 kB / 397.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.4404, allocations: 256.6 kB / 397.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.4408, allocations: 46.77 kB / 397.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.4424, allocations: 0.8565 MB / 398.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.4427, allocations: 0.794 MB / 399.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.4429, allocations: 32.48 kB / 399.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.443, allocations: 26.72 kB / 399.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.443, allocations: 1.375 kB / 399.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of Templates: time 0.01187/0.4549, allocations: 5.969 MB / 405.3 MB, free: 13.52 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches