Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001366/0.001366, allocations: 115.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002222/0.002222, allocations: 204.9 kB / 23.72 MB, free: 4.535 MB / 14.72 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 1.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.88 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2485, allocations: 53.41 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008933/0.2575, allocations: 6.359 MB / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.2616, allocations: 2.216 MB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.2621, allocations: 19.94 kB / 440.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.2634, allocations: 471.6 kB / 440.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.2642, allocations: 413 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.2646, allocations: 211.7 kB / 441.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.2658, allocations: 1.199 MB / 442.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.2664, allocations: 316.5 kB / 442.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/0.267, allocations: 486 kB / 443.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.2675, allocations: 429.8 kB / 443.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.2677, allocations: 112 kB / 443.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.268, allocations: 156 kB / 444 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.2682, allocations: 227.2 kB / 444.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.2686, allocations: 450 kB / 444.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.2703, allocations: 1.448 MB / 446.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2703, allocations: 4 kB / 446.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2703, allocations: 0 / 446.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.2703, allocations: 0 / 446.1 MB, free: 8.008 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00223/0.2726, allocations: 1.201 MB / 447.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2726, allocations: 11.98 kB / 447.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.2731, allocations: 156.1 kB / 447.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.2743, allocations: 0.5882 MB / 448 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.2743, allocations: 58.38 kB / 448.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2745, allocations: 88.31 kB / 448.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.2758, allocations: 0.8217 MB / 449 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.2759, allocations: 11.98 kB / 449 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.276, allocations: 36 kB / 449 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.276, allocations: 20 kB / 449.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.277, allocations: 0.5153 MB / 449.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.281, allocations: 2.916 MB / 452.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.2815, allocations: 217.3 kB / 452.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.2818, allocations: 101.5 kB / 452.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2818, allocations: 8 kB / 452.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2818, allocations: 42.55 kB / 452.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.2818, allocations: 0 / 452.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002175/0.284, allocations: 0.9019 MB / 453.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.2841, allocations: 81.34 kB / 453.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.2851, allocations: 0.6797 MB / 454.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.2851, allocations: 29.7 kB / 454.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.2855, allocations: 0.5071 MB / 455.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.338e-05/0.2856, allocations: 111.1 kB / 455.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.2858, allocations: 114.2 kB / 455.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2859, allocations: 374.8 kB / 455.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.2862, allocations: 125.2 kB / 455.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.2868, allocations: 455.8 kB / 456.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.2876, allocations: 0.5675 MB / 456.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.2876, allocations: 4 kB / 456.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001083/0.2887, allocations: 0.6117 MB / 457.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2887, allocations: 8 kB / 457.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.2887, allocations: 16.06 kB / 457.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.2889, allocations: 32.84 kB / 457.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.2893, allocations: 139.8 kB / 457.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.2904, allocations: 1.264 MB / 458.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.2909, allocations: 36.09 kB / 458.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.2909, allocations: 39.94 kB / 458.9 MB, free: 10.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003296/0.2913, allocations: 237.5 kB / 459.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.2914, allocations: 67.58 kB / 459.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006739/0.292, allocations: 304.9 kB / 459.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.292, allocations: 7.984 kB / 459.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.292, allocations: 11.88 kB / 459.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.292, allocations: 0 / 459.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.2936, allocations: 0.9022 MB / 460.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2936, allocations: 4 kB / 460.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.2939, allocations: 64.12 kB / 460.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.47e-05/0.294, allocations: 24.84 kB / 460.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.294, allocations: 4 kB / 460.5 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.295, allocations: 1.241 MB / 461.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.295, allocations: 7.969 kB / 461.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009237/0.2959, allocations: 0.5377 MB / 462.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.2962, allocations: 95.52 kB / 462.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/0.2962, allocations: 8 kB / 462.4 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.2966, allocations: 23.97 kB / 462.4 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.2966, allocations: 23.91 kB / 462.5 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.2966, allocations: 12 kB / 462.5 MB, free: 6.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006306/0.2973, allocations: 463 kB / 462.9 MB, free: 6.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2973, allocations: 4 kB / 462.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006682/0.2979, allocations: 159.9 kB / 463.1 MB, free: 5.969 MB / 366.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 (27): * Single equations (assignments): 26 * 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.0002018/0.2981, allocations: 111.2 kB / 463.2 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009684/0.2991, allocations: 465.1 kB / 463.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2991, allocations: 3.938 kB / 463.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.2995, allocations: 230.5 kB / 463.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009017/0.3004, allocations: 182 kB / 464.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.3029, allocations: 1.435 MB / 465.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3033, allocations: 344.5 kB / 465.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.3036, allocations: 81.48 kB / 465.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.3037, allocations: 47.44 kB / 466 MB, free: 2.996 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3037, allocations: 0 / 466 MB, free: 2.996 MB / 366.1 MB Notification: Performance of Templates: time 0.0195/0.3232, allocations: 9.156 MB / 475.1 MB, free: 10.02 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9046714920550585]