Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",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.001454/0.001454, allocations: 106.5 kB / 17.73 MB, free: 5.355 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.0016/0.0016, allocations: 191 kB / 18.66 MB, free: 4.434 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.34/1.34, 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.001511/0.001511, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.2363/0.3428, allocations: 7.921 MB / 382.6 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004562/0.3474, allocations: 2.62 MB / 385.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.3483, allocations: 19.78 kB / 385.2 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.3498, allocations: 0.4987 MB / 385.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.351, allocations: 400.8 kB / 386.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.3515, allocations: 213.5 kB / 386.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.3529, allocations: 1.236 MB / 387.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007294/0.3536, allocations: 0.5357 MB / 388.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006887/0.3543, allocations: 482 kB / 388.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.355, allocations: 0.523 MB / 389.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.3552, allocations: 114.4 kB / 389.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.3556, allocations: 155.8 kB / 389.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.3558, allocations: 236.3 kB / 389.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.3563, allocations: 0.5614 MB / 390.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.358, allocations: 1.452 MB / 391.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.358, allocations: 1.125 kB / 391.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.358, allocations: 3.938 kB / 391.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.195e-05/0.3581, allocations: 4 kB / 391.6 MB, free: 4.863 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002184/0.3603, allocations: 1.308 MB / 392.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3603, allocations: 10.38 kB / 392.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.3605, allocations: 131.5 kB / 393 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/0.361, allocations: 146.8 kB / 393.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.362, allocations: 0.6447 MB / 393.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.3621, allocations: 68.62 kB / 393.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3622, allocations: 82.8 kB / 394 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.3635, allocations: 0.8194 MB / 394.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.3636, allocations: 8.094 kB / 394.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.3636, allocations: 34.22 kB / 394.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3637, allocations: 21.31 kB / 394.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3647, allocations: 0.5401 MB / 395.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/0.3688, allocations: 3.559 MB / 399 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.3694, allocations: 242.3 kB / 399.2 MB, free: 0 / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.3697, allocations: 127.2 kB / 399.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.3697, allocations: 4.156 kB / 399.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3698, allocations: 36.72 kB / 399.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.3698, allocations: 0 / 399.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002248/0.372, allocations: 1.071 MB / 400.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.3721, allocations: 88.73 kB / 400.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3731, allocations: 0.7599 MB / 401.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3731, allocations: 31.52 kB / 401.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.3735, allocations: 0.5126 MB / 401.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.3736, allocations: 118.3 kB / 401.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.3738, allocations: 117.4 kB / 402 MB, free: 14.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.374, allocations: 383.8 kB / 402.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.3743, allocations: 130.9 kB / 402.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.3748, allocations: 447.8 kB / 403 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008347/0.3756, allocations: 0.6132 MB / 403.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3756, allocations: 3.406 kB / 403.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00117/0.3768, allocations: 0.6513 MB / 404.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.3769, allocations: 13.56 kB / 404.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.3769, allocations: 11 kB / 404.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.3771, allocations: 32.44 kB / 404.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.3776, allocations: 157.2 kB / 404.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009613/0.3785, allocations: 1.385 MB / 405.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.3791, allocations: 45.23 kB / 405.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.3791, allocations: 33.19 kB / 405.9 MB, free: 10.96 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.3795, allocations: 245 kB / 406.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3796, allocations: 76.41 kB / 406.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/0.3803, allocations: 331.8 kB / 406.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3803, allocations: 3.531 kB / 406.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3803, allocations: 3.938 kB / 406.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3803, allocations: 2.906 kB / 406.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.3821, allocations: 1.119 MB / 407.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3821, allocations: 6.438 kB / 407.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.3824, allocations: 66.14 kB / 407.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-05/0.3825, allocations: 20.81 kB / 407.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3826, allocations: 7.344 kB / 407.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008985/0.3835, allocations: 1.373 MB / 409.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.3835, allocations: 5.938 kB / 409.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.3844, allocations: 0.5795 MB / 409.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.3846, allocations: 178 kB / 409.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/0.3847, allocations: 7.312 kB / 409.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.3851, allocations: 19.8 kB / 409.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.3852, allocations: 22.78 kB / 410 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3852, allocations: 11.53 kB / 410 MB, free: 7.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007192/0.3859, allocations: 0.5225 MB / 410.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3859, allocations: 0 / 410.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000771/0.3867, allocations: 171.7 kB / 410.7 MB, free: 7.281 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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 (28): * Single equations (assignments): 27 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/0.3879, allocations: 1.123 MB / 411.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009724/0.3889, allocations: 496.4 kB / 412.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3889, allocations: 1.406 kB / 412.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.3893, allocations: 246.8 kB / 412.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009507/0.3903, allocations: 181.2 kB / 412.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/0.3993, allocations: 6.495 MB / 419.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.3999, allocations: 0.9588 MB / 420.2 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.4003, allocations: 91.55 kB / 420.2 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.4007, allocations: 316.6 kB / 420.6 MB, free: 104 kB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4007, allocations: 5.375 kB / 420.6 MB, free: 100 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04568/0.4464, allocations: 16.27 MB / 436.8 MB, free: 36 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.86, allocations: 7.938 kB / 436.8 MB, free: 28 kB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_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_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches