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.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.006194/0.006194, allocations: 109.7 kB / 21.97 MB, free: 5.195 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.001585/0.001585, allocations: 215.5 kB / 25.28 MB, free: 3.207 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.285/1.285, allocations: 207.6 MB / 236.1 MB, free: 10.86 MB / 190.1 MB " [Timeout remaining time 179] 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.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",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="cs",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.001721/0.001721, allocations: 59.92 kB / 348 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3075, allocations: 49.15 MB / 397.1 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009149/0.3167, allocations: 7.991 MB / 405.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004902/0.3216, allocations: 2.635 MB / 407.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007847/0.3224, allocations: 27.22 kB / 407.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.3238, allocations: 0.5305 MB / 408.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.3248, allocations: 424.8 kB / 408.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.3253, allocations: 227.5 kB / 409 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.3266, allocations: 1.23 MB / 410.2 MB, free: 24 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006809/0.3273, allocations: 371.8 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.3281, allocations: 0.4936 MB / 411 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008131/0.3289, allocations: 0.5129 MB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.329, allocations: 114.9 kB / 411.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.3294, allocations: 156.1 kB / 411.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.3296, allocations: 236 kB / 412.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006612/0.3303, allocations: 0.5639 MB / 412.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.3324, allocations: 1.465 MB / 414.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3324, allocations: 1.094 kB / 414.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3324, allocations: 0 / 414.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.3325, allocations: 0 / 414.1 MB, free: 13.94 MB / 334.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.002691/0.3351, allocations: 1.263 MB / 415.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.3352, allocations: 13.73 kB / 415.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.193e-05/0.3352, allocations: 22.88 kB / 415.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.3354, allocations: 138.2 kB / 415.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.336, allocations: 160.1 kB / 415.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.3371, allocations: 0.5764 MB / 416.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.3372, allocations: 63.78 kB / 416.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3374, allocations: 92.19 kB / 416.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3389, allocations: 0.8222 MB / 417.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3389, allocations: 3.469 kB / 417.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.339, allocations: 32.97 kB / 417.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.339, allocations: 23.09 kB / 417.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3402, allocations: 0.5411 MB / 417.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.3451, allocations: 3.457 MB / 421.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.3457, allocations: 233.6 kB / 421.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.346, allocations: 116.8 kB / 421.6 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.346, allocations: 2.5 kB / 421.6 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.346, allocations: 35.84 kB / 421.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.346, allocations: 1.469 kB / 421.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002409/0.3485, allocations: 0.9343 MB / 422.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.3485, allocations: 80.33 kB / 422.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3497, allocations: 0.7585 MB / 423.4 MB, free: 7.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3498, allocations: 32.58 kB / 423.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.3502, allocations: 0.5331 MB / 424 MB, free: 6.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3503, allocations: 118 kB / 424.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3505, allocations: 121 kB / 424.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.3508, allocations: 381.9 kB / 424.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3511, allocations: 131.4 kB / 424.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.3517, allocations: 448 kB / 425.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.3526, allocations: 0.6135 MB / 425.8 MB, free: 4.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.3526, allocations: 8.188 kB / 425.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001098/0.3537, allocations: 0.6431 MB / 426.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3537, allocations: 13.84 kB / 426.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3537, allocations: 9.969 kB / 426.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.3539, allocations: 41 kB / 426.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.3544, allocations: 150 kB / 426.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.3556, allocations: 1.29 MB / 427.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.3562, allocations: 41.28 kB / 428 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.3562, allocations: 36.59 kB / 428 MB, free: 3.094 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.0004187/0.3566, allocations: 241.9 kB / 428.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3568, allocations: 78.86 kB / 428.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.3575, allocations: 336.7 kB / 428.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3575, allocations: 3 kB / 428.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3575, allocations: 5.312 kB / 428.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3575, allocations: 0 / 428.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.3595, allocations: 1.094 MB / 429.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3595, allocations: 4 kB / 429.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.3598, allocations: 59.89 kB / 429.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.048e-05/0.3599, allocations: 20.86 kB / 429.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3599, allocations: 11.94 kB / 429.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.361, allocations: 1.275 MB / 431.1 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.361, allocations: 7.938 kB / 431.1 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.362, allocations: 0.5725 MB / 431.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.3622, allocations: 103.5 kB / 431.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/0.3623, allocations: 8 kB / 431.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.3626, allocations: 19.97 kB / 431.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.3627, allocations: 31.91 kB / 431.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.3627, allocations: 15.92 kB / 431.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007319/0.3635, allocations: 0.5147 MB / 432.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 432.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007531/0.3642, allocations: 168 kB / 432.6 MB, free: 14.74 MB / 350.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.001367/0.3656, allocations: 1.133 MB / 433.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.3665, allocations: 469.1 kB / 434.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3665, allocations: 0 / 434.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.3669, allocations: 243.1 kB / 434.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/0.3678, allocations: 187.5 kB / 434.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/0.377, allocations: 6.534 MB / 441.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.3777, allocations: 0.9526 MB / 442.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.378, allocations: 94.17 kB / 442.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.3784, allocations: 315.3 kB / 442.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3784, allocations: 0 / 442.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/0.4274, allocations: 16.64 MB / 459.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.64, allocations: 7.922 kB / 459.1 MB, free: 3.594 MB / 366.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 18.14872578700306]