Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001572, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 58.45 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.09113, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009613/0.1008, allocations: 9.113 MB / 366.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005169/0.106, allocations: 3.182 MB / 369.9 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.1071, allocations: 43.81 kB / 369.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.109, allocations: 0.6678 MB / 370.6 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.1114, allocations: 0.7222 MB / 371.3 MB, free: 212 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1506/0.2621, allocations: 302.6 kB / 371.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.2647, allocations: 2.124 MB / 373.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.2662, allocations: 1.435 MB / 375.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.2673, allocations: 0.9188 MB / 376.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.2685, allocations: 1.145 MB / 377.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.2688, allocations: 231.3 kB / 377.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.2695, allocations: 333.3 kB / 377.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005578/0.27, allocations: 0.6756 MB / 378.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008579/0.2709, allocations: 1.094 MB / 379.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.2735, allocations: 3.105 MB / 382.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2735, allocations: 8.5 kB / 382.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2735, allocations: 0 / 382.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.159e-05/0.2736, allocations: 0 / 382.7 MB, free: 8.555 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.003845/0.2774, allocations: 2.299 MB / 385 MB, free: 7.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2775, allocations: 10.45 kB / 385 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000244/0.2777, allocations: 232.9 kB / 385.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005777/0.2783, allocations: 240 kB / 385.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.2799, allocations: 1.195 MB / 386.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.28, allocations: 113.3 kB / 386.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.2802, allocations: 159.9 kB / 386.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.2829, allocations: 2.036 MB / 388.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.2829, allocations: 6.156 kB / 388.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.283, allocations: 61.81 kB / 389 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.248e-05/0.2831, allocations: 75.62 kB / 389.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.2855, allocations: 1.687 MB / 390.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007177/0.2927, allocations: 7.092 MB / 397.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007438/0.2935, allocations: 475 kB / 398.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.2939, allocations: 289.6 kB / 398.6 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.2941, allocations: 112.2 kB / 398.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2941, allocations: 35 kB / 398.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.2941, allocations: 0 / 398.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006069/0.3002, allocations: 3.025 MB / 401.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3003, allocations: 63.91 kB / 401.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.3022, allocations: 1.632 MB / 403.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.3023, allocations: 37.7 kB / 403.5 MB, free: 11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.3029, allocations: 1.031 MB / 404.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.3031, allocations: 236.4 kB / 404.8 MB, free: 9.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.3035, allocations: 315.1 kB / 405.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.3036, allocations: 309.1 kB / 405.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008336/0.3044, allocations: 0.5231 MB / 405.9 MB, free: 8.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.3058, allocations: 1.456 MB / 407.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.3081, allocations: 2.143 MB / 409.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.3081, allocations: 8 kB / 409.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003204/0.3113, allocations: 2.156 MB / 411.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.3114, allocations: 24.2 kB / 411.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.3114, allocations: 36 kB / 411.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.312, allocations: 226.4 kB / 411.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.3131, allocations: 403.2 kB / 412.3 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.3147, allocations: 1.847 MB / 414.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3159, allocations: 143.4 kB / 414.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.316, allocations: 96 kB / 414.4 MB, free: 15.08 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007428/0.3167, allocations: 0.5944 MB / 415 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.317, allocations: 150.1 kB / 415.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.3188, allocations: 1.094 MB / 416.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3189, allocations: 8 kB / 416.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3189, allocations: 0 / 416.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3189, allocations: 0 / 416.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.3231, allocations: 2.774 MB / 419 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3231, allocations: 7.938 kB / 419 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.3236, allocations: 115.9 kB / 419.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000408/0.324, allocations: 174.5 kB / 419.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.3241, allocations: 12 kB / 419.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.3255, allocations: 1.781 MB / 421.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3256, allocations: 4.062 kB / 421.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.3279, allocations: 1.633 MB / 422.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.3283, allocations: 303.2 kB / 423 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.3285, allocations: 16 kB / 423.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/0.3292, allocations: 52 kB / 423.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3293, allocations: 52.38 kB / 423.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.3294, allocations: 20.14 kB / 423.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001401/0.3308, allocations: 1.079 MB / 424.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3308, allocations: 0 / 424.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001281/0.3321, allocations: 356 kB / 424.6 MB, free: 4.566 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,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.002869/0.3349, allocations: 2.265 MB / 426.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.3377, allocations: 1.756 MB / 428.6 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3377, allocations: 3.938 kB / 428.6 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.3387, allocations: 0.7598 MB / 429.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.3403, allocations: 399.9 kB / 429.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/0.3598, allocations: 16.45 MB / 446.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.3608, allocations: 1.469 MB / 447.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009967/0.3618, allocations: 354 kB / 448 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/0.3626, allocations: 0.6438 MB / 448.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3626, allocations: 0 / 448.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.905/1.268, allocations: 34.83 MB / 483.5 MB, free: 8.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.57, allocations: 19.17 kB / 483.5 MB, free: 8.188 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.32 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches