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.001918/0.001918, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002149/0.002149, allocations: 215 kB / 24.47 MB, free: 3.777 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.354/1.354, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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="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"}) [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.001745/0.001745, allocations: 55.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2308, allocations: 49.16 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007083/0.2379, allocations: 6.999 MB / 403.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.2415, allocations: 2.45 MB / 405.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.2419, allocations: 23.5 kB / 405.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.2431, allocations: 484 kB / 406.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007458/0.2438, allocations: 429.3 kB / 406.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.2442, allocations: 219.6 kB / 406.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009966/0.2452, allocations: 1.235 MB / 408.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.2457, allocations: 340.9 kB / 408.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.2462, allocations: 0.4906 MB / 409 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.2467, allocations: 454.1 kB / 409.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.2468, allocations: 115.6 kB / 409.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.2471, allocations: 150.6 kB / 409.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.2472, allocations: 235.8 kB / 409.9 MB, free: 364 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.2476, allocations: 466.1 kB / 410.4 MB, free: 112 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.2492, allocations: 1.493 MB / 411.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2492, allocations: 5.406 kB / 411.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2492, allocations: 0 / 411.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.2492, allocations: 0 / 411.9 MB, free: 15.26 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.002363/0.2516, allocations: 1.252 MB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.2516, allocations: 12.36 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.2518, allocations: 131.5 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005101/0.2523, allocations: 163.9 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.2535, allocations: 0.5809 MB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.2535, allocations: 63.84 kB / 414.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.2537, allocations: 91.52 kB / 414.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.2551, allocations: 0.8661 MB / 415 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.2551, allocations: 5.375 kB / 415 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.2552, allocations: 40.86 kB / 415.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.2552, allocations: 21.09 kB / 415.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.2563, allocations: 0.537 MB / 415.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/0.2609, allocations: 3.063 MB / 418.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.2614, allocations: 240 kB / 418.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.2617, allocations: 112.6 kB / 419 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.2617, allocations: 3.125 kB / 419 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.2618, allocations: 36.62 kB / 419.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.194e-06/0.2618, allocations: 0 / 419.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002235/0.264, allocations: 0.9332 MB / 420 MB, free: 9.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.2641, allocations: 84.95 kB / 420.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.2651, allocations: 0.7784 MB / 420.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2652, allocations: 31.02 kB / 420.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/0.2656, allocations: 0.5266 MB / 421.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2657, allocations: 122 kB / 421.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.2659, allocations: 124.6 kB / 421.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.2661, allocations: 386.2 kB / 422.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.2664, allocations: 131.3 kB / 422.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.267, allocations: 466.8 kB / 422.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.2679, allocations: 0.6186 MB / 423.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2679, allocations: 3.781 kB / 423.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001166/0.2691, allocations: 0.6516 MB / 423.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2691, allocations: 13.59 kB / 423.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.2691, allocations: 15.62 kB / 423.9 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.2692, allocations: 39.22 kB / 424 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.2697, allocations: 149.6 kB / 424.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.2709, allocations: 1.278 MB / 425.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.2715, allocations: 49.47 kB / 425.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.2715, allocations: 30.88 kB / 425.5 MB, free: 4.754 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.0003522/0.2719, allocations: 242.8 kB / 425.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.272, allocations: 78.92 kB / 425.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.2727, allocations: 337.4 kB / 426.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2727, allocations: 2.844 kB / 426.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.2727, allocations: 9.344 kB / 426.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2727, allocations: 0 / 426.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.2745, allocations: 1.017 MB / 427.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.2745, allocations: 4 kB / 427.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.2748, allocations: 64.17 kB / 427.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/0.2749, allocations: 20.8 kB / 427.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.2749, allocations: 11.98 kB / 427.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.276, allocations: 1.275 MB / 428.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.276, allocations: 0 / 428.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.277, allocations: 0.5764 MB / 429.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.2772, allocations: 99.52 kB / 429.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/0.2773, allocations: 8 kB / 429.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.2777, allocations: 19.98 kB / 429.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.2777, allocations: 23.95 kB / 429.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.2778, allocations: 12 kB / 429.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007563/0.2785, allocations: 0.5263 MB / 429.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2785, allocations: 0 / 429.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007209/0.2792, allocations: 168 kB / 430 MB, free: 384 kB / 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.001422/0.2807, allocations: 1.129 MB / 431.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009681/0.2816, allocations: 476.2 kB / 431.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2816, allocations: 4 kB / 431.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.282, allocations: 240.3 kB / 431.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.283, allocations: 187.3 kB / 432 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009976/0.293, allocations: 6.53 MB / 438.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.2934, allocations: 361.3 kB / 438.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003876/0.2938, allocations: 94.17 kB / 438.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.2942, allocations: 315.3 kB / 439.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2942, allocations: 0 / 439.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07332/0.3676, allocations: 17.57 MB / 456.8 MB, free: 4.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.9, allocations: 4 kB / 456.8 MB, free: 4.887 MB / 366.1 MB " [Timeout remaining time 648] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.89588304888457]