Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000861/0.000861, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8979/0.8979, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.328e-05, allocations: 2.844 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008988/0.009011, allocations: 7.08 MB / 331.6 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.01334, allocations: 2.485 MB / 334.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005801/0.01392, allocations: 23.94 kB / 334.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.01518, allocations: 488.8 kB / 334.6 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008583/0.01603, allocations: 452.4 kB / 335 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.01647, allocations: 227.5 kB / 335.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.01779, allocations: 1.294 MB / 336.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.01837, allocations: 338.5 kB / 336.9 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009907/0.01936, allocations: 0.7366 MB / 337.6 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.01992, allocations: 382.8 kB / 338 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004025/0.02032, allocations: 112 kB / 338.1 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.02059, allocations: 159.9 kB / 338.3 MB, free: 2.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.02076, allocations: 243 kB / 338.5 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.02116, allocations: 395.1 kB / 338.9 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.02256, allocations: 1.464 MB / 340.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.02256, allocations: 0 / 340.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02257, allocations: 0 / 340.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.02259, allocations: 0 / 340.3 MB, free: 15.97 MB / 314.7 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.002079/0.02467, allocations: 1.252 MB / 341.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.02471, allocations: 11.98 kB / 341.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.02487, allocations: 131.5 kB / 341.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005985/0.02546, allocations: 180.1 kB / 341.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.02649, allocations: 0.5874 MB / 342.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.02654, allocations: 66.38 kB / 342.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.02665, allocations: 80.38 kB / 342.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.02799, allocations: 0.8726 MB / 343.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.02802, allocations: 3.953 kB / 343.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.02809, allocations: 36 kB / 343.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.02811, allocations: 24 kB / 343.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.02918, allocations: 0.5426 MB / 344.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.03233, allocations: 3.064 MB / 347.2 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.03271, allocations: 230.6 kB / 347.4 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.03286, allocations: 112.8 kB / 347.5 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.03288, allocations: 7.938 kB / 347.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.03291, allocations: 38.5 kB / 347.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.796e-06/0.03291, allocations: 0 / 347.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.00145/0.03436, allocations: 0.9359 MB / 348.5 MB, free: 7.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.03441, allocations: 81.11 kB / 348.6 MB, free: 7.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.03504, allocations: 0.7818 MB / 349.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.03506, allocations: 33.7 kB / 349.4 MB, free: 6.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.0353, allocations: 0.5228 MB / 349.9 MB, free: 5.992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.03535, allocations: 111.1 kB / 350 MB, free: 5.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.03545, allocations: 122.2 kB / 350.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.03557, allocations: 390.7 kB / 350.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.03575, allocations: 129.2 kB / 350.6 MB, free: 5.242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.03615, allocations: 472.2 kB / 351.1 MB, free: 4.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/0.037, allocations: 0.6138 MB / 351.7 MB, free: 3.863 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.03701, allocations: 4 kB / 351.7 MB, free: 3.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006809/0.03769, allocations: 0.6424 MB / 352.4 MB, free: 3.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.03771, allocations: 12 kB / 352.4 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.03772, allocations: 8 kB / 352.4 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.03784, allocations: 40.78 kB / 352.4 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.0381, allocations: 160.3 kB / 352.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006554/0.03876, allocations: 1.279 MB / 353.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.039, allocations: 43.92 kB / 353.9 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.03903, allocations: 32 kB / 353.9 MB, free: 1.52 MB / 314.7 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.0002038/0.03923, allocations: 249.6 kB / 354.2 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.0393, allocations: 79.48 kB / 354.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.0397, allocations: 334.2 kB / 354.6 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.0397, allocations: 4 kB / 354.6 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.03971, allocations: 0 / 354.6 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.03971, allocations: 0 / 354.6 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.04075, allocations: 1.034 MB / 355.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.04075, allocations: 0 / 355.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.04091, allocations: 67.89 kB / 355.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.446e-05/0.04096, allocations: 29.02 kB / 355.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.04098, allocations: 15.98 kB / 355.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005312/0.04151, allocations: 1.256 MB / 357 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.04151, allocations: 7.969 kB / 357 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.04204, allocations: 0.5609 MB / 357.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.04217, allocations: 103.5 kB / 357.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.04221, allocations: 11.94 kB / 357.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.04238, allocations: 19.98 kB / 357.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.04243, allocations: 31.89 kB / 357.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.04244, allocations: 8 kB / 357.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006683/0.04311, allocations: 0.5224 MB / 358.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04311, allocations: 4 kB / 358.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003971/0.04351, allocations: 168 kB / 358.4 MB, free: 12.78 MB / 330.7 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.000804/0.04431, allocations: 1.129 MB / 359.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005724/0.04488, allocations: 472.2 kB / 360 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.04488, allocations: 0 / 360 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.04509, allocations: 243.8 kB / 360.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.04565, allocations: 190.7 kB / 360.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/0.05187, allocations: 6.452 MB / 366.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.05209, allocations: 357.3 kB / 367.2 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.05229, allocations: 94.17 kB / 367.3 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.05254, allocations: 320.3 kB / 367.6 MB, free: 3.027 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05254, allocations: 0 / 367.6 MB, free: 3.027 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.08176, allocations: 17.64 MB / 385.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.759, allocations: 11.86 kB / 385.3 MB, free: 1.613 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.616183565929532]