Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 113.4 kB / 17.73 MB, free: 5.324 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.001138/0.001138, allocations: 188.2 kB / 18.66 MB, free: 4.398 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.391/1.391, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001333/0.001334, allocations: 51.92 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 46.61 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2082/0.315, allocations: 9.552 MB / 384.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.3206, allocations: 3.116 MB / 387.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.322, allocations: 30.41 kB / 387.4 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.3236, allocations: 0.5751 MB / 387.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.3253, allocations: 0.5592 MB / 388.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.326, allocations: 317.9 kB / 388.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.328, allocations: 1.765 MB / 390.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.3288, allocations: 0.6352 MB / 391.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.3299, allocations: 0.6785 MB / 391.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009658/0.3309, allocations: 0.7446 MB / 392.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.3311, allocations: 157.5 kB / 392.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.3316, allocations: 200.1 kB / 393 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.3318, allocations: 332.4 kB / 393.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006712/0.3325, allocations: 0.8114 MB / 394.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.3346, allocations: 1.983 MB / 396.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3346, allocations: 0.5625 kB / 396.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3347, allocations: 3.938 kB / 396.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.3347, allocations: 1.469 kB / 396.1 MB, free: 2.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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003058/0.3378, allocations: 1.783 MB / 397.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3378, allocations: 9.703 kB / 397.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/0.338, allocations: 163.4 kB / 398 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005899/0.3386, allocations: 202.6 kB / 398.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.34, allocations: 0.8361 MB / 399.1 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3401, allocations: 110.6 kB / 399.2 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.3403, allocations: 120.1 kB / 399.3 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.3422, allocations: 1.145 MB / 400.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.3422, allocations: 3.125 kB / 400.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.804e-05/0.3423, allocations: 46.56 kB / 400.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.3424, allocations: 30.53 kB / 400.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.3439, allocations: 0.7578 MB / 401.3 MB, free: 15.16 MB / 334.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.00608/0.35, allocations: 3.913 MB / 405.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.3515, allocations: 0.5834 MB / 405.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.3521, allocations: 267.9 kB / 406 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.3521, allocations: 12.14 kB / 406.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006003/0.3527, allocations: 310.7 kB / 406.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.815e-06/0.3527, allocations: 1 kB / 406.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004892/0.3576, allocations: 2.072 MB / 408.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002615/0.3579, allocations: 477.1 kB / 408.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.3595, allocations: 1.102 MB / 410 MB, free: 9.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.3596, allocations: 47.3 kB / 410.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005901/0.3602, allocations: 0.6416 MB / 410.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.3604, allocations: 230.1 kB / 410.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.3606, allocations: 191.8 kB / 411.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3608, allocations: 346.9 kB / 411.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.3614, allocations: 244.9 kB / 411.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.3623, allocations: 0.7126 MB / 412.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.3637, allocations: 0.9376 MB / 413.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.3637, allocations: 15.03 kB / 413.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002248/0.366, allocations: 1.148 MB / 414.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.3661, allocations: 61.19 kB / 414.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3661, allocations: 11.22 kB / 414.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.3667, allocations: 174 kB / 414.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.3674, allocations: 209.2 kB / 414.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.3721, allocations: 3.891 MB / 418.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.3734, allocations: 69.02 kB / 418.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.3735, allocations: 45.12 kB / 418.9 MB, free: 1.742 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005857/0.3741, allocations: 293.1 kB / 419.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.3743, allocations: 124.4 kB / 419.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.376, allocations: 0.7047 MB / 420.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.376, allocations: 6.531 kB / 420.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.376, allocations: 0 / 420.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/0.3774, allocations: 0.9637 MB / 421 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.3809, allocations: 1.789 MB / 422.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3809, allocations: 4 kB / 422.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.3814, allocations: 108.2 kB / 422.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.3819, allocations: 133.6 kB / 423.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.3819, allocations: 19.98 kB / 423.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/0.3856, allocations: 3.584 MB / 426.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3856, allocations: 4.031 kB / 426.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.3877, allocations: 1.046 MB / 427.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/0.3884, allocations: 251.5 kB / 428 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.3887, allocations: 20 kB / 428 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/0.3895, allocations: 35.97 kB / 428 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3896, allocations: 60.36 kB / 428.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.3897, allocations: 20 kB / 428.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.3908, allocations: 0.7484 MB / 428.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3908, allocations: 0 / 428.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001449/0.3923, allocations: 304 kB / 429.1 MB, free: 7.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002427/0.3947, allocations: 1.624 MB / 430.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.3969, allocations: 1.115 MB / 431.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3969, allocations: 0 / 431.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009517/0.3979, allocations: 0.5453 MB / 432.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.3998, allocations: 336.2 kB / 432.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.4157, allocations: 9.719 MB / 442.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.4164, allocations: 1.078 MB / 443.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006362/0.4171, allocations: 145.8 kB / 443.7 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/0.4177, allocations: 471.3 kB / 444.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of SimCode: time 2.785e-06/0.4177, allocations: 0 / 444.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0717/0.4894, allocations: 29.68 MB / 473.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/13.98, allocations: 11.72 kB / 473.8 MB, free: 10.09 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches