Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001507/0.001507, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001716/0.001716, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.669/1.669, allocations: 207.6 MB / 235.3 MB, free: 10 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [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.001943/0.001943, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3607, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004149/0.3648, allocations: 2.478 MB / 398.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3662, allocations: 0.6942 MB / 399.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3664, allocations: 4.062 kB / 399.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.3665, allocations: 37.06 kB / 399.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3666, allocations: 70.48 kB / 399.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.367, allocations: 85.34 kB / 399.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.3673, allocations: 278.7 kB / 400 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3675, allocations: 65.2 kB / 400 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.3677, allocations: 114.1 kB / 400.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.3678, allocations: 112 kB / 400.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.3679, allocations: 21.91 kB / 400.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.368, allocations: 35.59 kB / 400.3 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.368, allocations: 51.89 kB / 400.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3681, allocations: 121 kB / 400.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.3685, allocations: 281.6 kB / 400.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3685, allocations: 4 kB / 400.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3685, allocations: 1.062 kB / 400.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3685, allocations: 0 / 400.8 MB, free: 6.137 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008258/0.3694, allocations: 463.1 kB / 401.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3694, allocations: 16.73 kB / 401.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.3695, allocations: 62.2 kB / 401.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.3695, allocations: 26.55 kB / 401.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.3699, allocations: 179.4 kB / 401.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.3699, allocations: 16.66 kB / 401.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.3699, allocations: 21.72 kB / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.3703, allocations: 190.3 kB / 401.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3703, allocations: 1.188 kB / 401.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.3704, allocations: 5.062 kB / 401.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3704, allocations: 5.406 kB / 401.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.3707, allocations: 166.2 kB / 401.9 MB, free: 5.348 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.001378/0.3721, allocations: 0.8817 MB / 402.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.3724, allocations: 148.9 kB / 402.9 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.3727, allocations: 87.53 kB / 403 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.3727, allocations: 2.281 kB / 403 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3727, allocations: 37.12 kB / 403.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.575e-06/0.3727, allocations: 4 kB / 403.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001358/0.3741, allocations: 340.2 kB / 403.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.3741, allocations: 53.72 kB / 403.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3743, allocations: 166.3 kB / 403.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3743, allocations: 31.14 kB / 403.6 MB, free: 4.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.3744, allocations: 147.2 kB / 403.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.3745, allocations: 70.33 kB / 403.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.3745, allocations: 36.72 kB / 403.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.3746, allocations: 327.8 kB / 404.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3747, allocations: 49.42 kB / 404.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3748, allocations: 69.25 kB / 404.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.3751, allocations: 130.9 kB / 404.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3751, allocations: 1.062 kB / 404.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004126/0.3755, allocations: 213.9 kB / 404.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3755, allocations: 10.16 kB / 404.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3755, allocations: 1.375 kB / 404.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.377, allocations: 219.1 kB / 404.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3771, allocations: 33.55 kB / 404.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003883/0.3775, allocations: 0.6089 MB / 405.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3776, allocations: 12.58 kB / 405.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3777, allocations: 7.594 kB / 405.5 MB, free: 2.762 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.3778, allocations: 141.9 kB / 405.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.3778, allocations: 15.94 kB / 405.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.3783, allocations: 224.1 kB / 405.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3783, allocations: 2.719 kB / 405.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3783, allocations: 0 / 405.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3783, allocations: 6.656 kB / 405.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.3791, allocations: 0.5712 MB / 406.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3791, allocations: 0 / 406.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.3793, allocations: 30.86 kB / 406.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.3805, allocations: 197 kB / 406.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.3805, allocations: 6.719 kB / 406.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003508/0.3808, allocations: 0.623 MB / 407.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3808, allocations: 0.6094 kB / 407.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.3816, allocations: 423.5 kB / 407.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.3817, allocations: 22.09 kB / 407.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.3817, allocations: 7.359 kB / 407.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3818, allocations: 6.094 kB / 407.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.3819, allocations: 18.53 kB / 407.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3819, allocations: 5.5 kB / 407.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.896e-05/0.382, allocations: 135.6 kB / 408 MB, free: 1.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.382, allocations: 0 / 408 MB, free: 1.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000327/0.3823, allocations: 56.41 kB / 408 MB, free: 1.082 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.3834, allocations: 0.9615 MB / 409 MB, free: 296 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.3838, allocations: 134.1 kB / 409.1 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3838, allocations: 1.375 kB / 409.1 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.384, allocations: 84.97 kB / 409.2 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.3844, allocations: 38.38 kB / 409.2 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.3878, allocations: 2.303 MB / 411.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.3882, allocations: 0.7388 MB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.3883, allocations: 12.7 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.3884, allocations: 60.2 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3884, allocations: 0 / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/0.4327, allocations: 4.909 MB / 417.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.08, allocations: 13.05 kB / 417.3 MB, free: 11.39 MB / 334.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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: 16.895678237080574]