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.001108/0.001108, allocations: 114.5 kB / 17.73 MB, free: 5.281 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.001137/0.001137, allocations: 187 kB / 18.66 MB, free: 4.355 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.318/1.318, allocations: 205.1 MB / 224.5 MB, free: 12.18 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.002314/0.002314, allocations: 55.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1118, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1945/0.3063, allocations: 7.913 MB / 382.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00433/0.3107, allocations: 2.625 MB / 385.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.3119, allocations: 23.5 kB / 385.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3135, allocations: 0.4955 MB / 385.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.3151, allocations: 400.1 kB / 386.1 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.3158, allocations: 220.6 kB / 386.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.3174, allocations: 1.226 MB / 387.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007193/0.3181, allocations: 0.5291 MB / 388.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006936/0.3188, allocations: 495.2 kB / 388.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00065/0.3195, allocations: 0.5142 MB / 389.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.3196, allocations: 114.9 kB / 389.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.32, allocations: 157.1 kB / 389.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3202, allocations: 240.5 kB / 389.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.3207, allocations: 0.5639 MB / 390.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.3226, allocations: 1.454 MB / 391.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3226, allocations: 0 / 391.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3226, allocations: 1.844 kB / 391.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.319e-05/0.3227, allocations: 0 / 391.6 MB, free: 4.848 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.002354/0.325, allocations: 1.312 MB / 392.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3251, allocations: 9.688 kB / 392.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.3252, allocations: 129.7 kB / 393 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005088/0.3257, allocations: 147.1 kB / 393.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.3269, allocations: 0.6495 MB / 393.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.327, allocations: 71.86 kB / 393.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3271, allocations: 83.91 kB / 394 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.3287, allocations: 0.819 MB / 394.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.3288, allocations: 6 kB / 394.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.3289, allocations: 32.08 kB / 394.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.3289, allocations: 21.53 kB / 394.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.3301, allocations: 0.5438 MB / 395.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.3346, allocations: 3.552 MB / 399 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.3352, allocations: 243.2 kB / 399.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.3355, allocations: 118.6 kB / 399.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3355, allocations: 6.984 kB / 399.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3355, allocations: 36.94 kB / 399.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.354e-06/0.3355, allocations: 0 / 399.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002425/0.338, allocations: 1.068 MB / 400.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.3381, allocations: 83.73 kB / 400.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.3391, allocations: 0.7651 MB / 401.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3392, allocations: 30.52 kB / 401.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.3395, allocations: 0.5106 MB / 401.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.3396, allocations: 115.6 kB / 401.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.3398, allocations: 130.4 kB / 402 MB, free: 14.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.34, allocations: 383.6 kB / 402.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.3403, allocations: 130.3 kB / 402.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.3407, allocations: 448 kB / 403 MB, free: 13.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.3415, allocations: 0.6127 MB / 403.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.3416, allocations: 4.125 kB / 403.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001214/0.3428, allocations: 0.6432 MB / 404.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3428, allocations: 14.22 kB / 404.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.3428, allocations: 11.16 kB / 404.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.343, allocations: 33.5 kB / 404.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.3435, allocations: 151.5 kB / 404.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.3447, allocations: 1.399 MB / 405.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.3453, allocations: 41.98 kB / 405.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.3454, allocations: 32.22 kB / 405.9 MB, free: 10.94 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.0003779/0.3458, allocations: 239.3 kB / 406.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3459, allocations: 87.47 kB / 406.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007193/0.3467, allocations: 331 kB / 406.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3467, allocations: 3.25 kB / 406.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3467, allocations: 4.969 kB / 406.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3467, allocations: 2.875 kB / 406.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.3485, allocations: 1.125 MB / 407.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.3486, allocations: 2.219 kB / 407.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.3489, allocations: 62.81 kB / 407.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.314e-05/0.349, allocations: 23.28 kB / 407.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.349, allocations: 8.562 kB / 407.8 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009156/0.3499, allocations: 1.372 MB / 409.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3499, allocations: 3.125 kB / 409.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.3509, allocations: 0.5736 MB / 409.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.3512, allocations: 178.3 kB / 409.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.3513, allocations: 8.344 kB / 409.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.3516, allocations: 27.22 kB / 410 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.3517, allocations: 23.14 kB / 410 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.3517, allocations: 11.8 kB / 410 MB, free: 7.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007105/0.3525, allocations: 0.5224 MB / 410.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3525, allocations: 0 / 410.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009243/0.3534, allocations: 170.4 kB / 410.7 MB, free: 7.262 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.001552/0.355, allocations: 1.125 MB / 411.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.3561, allocations: 486.4 kB / 412.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3562, allocations: 2.406 kB / 412.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.3566, allocations: 242.9 kB / 412.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3578, allocations: 193.7 kB / 412.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009937/0.3677, allocations: 6.491 MB / 419.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.3683, allocations: 0.9581 MB / 420.2 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.3688, allocations: 92.92 kB / 420.2 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.3692, allocations: 316.6 kB / 420.6 MB, free: 88 kB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3692, allocations: 3.938 kB / 420.6 MB, free: 84 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.4134, allocations: 16.28 MB / 436.8 MB, free: 8 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.8, allocations: 3.938 kB / 436.8 MB, free: 4 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