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.001313/0.001318, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 56.34 kB / 306.6 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09794, allocations: 50.54 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.009516/0.1075, allocations: 9.054 MB / 366.2 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005038/0.1125, allocations: 3.155 MB / 369.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007886/0.1134, allocations: 39.81 kB / 369.3 MB, free: 2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1149, allocations: 0.6062 MB / 370 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.1166, allocations: 0.6411 MB / 370.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.1172, allocations: 275.7 kB / 370.9 MB, free: 488 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1596/0.2768, allocations: 2.118 MB / 373 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.2785, allocations: 1.428 MB / 374.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.2799, allocations: 0.9382 MB / 375.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.2812, allocations: 1.17 MB / 376.5 MB, free: 10 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.2815, allocations: 232 kB / 376.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00066/0.2822, allocations: 328.8 kB / 377.1 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006723/0.2829, allocations: 0.6829 MB / 377.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000919/0.2838, allocations: 1.095 MB / 378.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.2872, allocations: 3.107 MB / 381.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2872, allocations: 4 kB / 382 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2873, allocations: 0 / 382 MB, free: 8.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.334e-05/0.2873, allocations: 2.125 kB / 382 MB, free: 8.664 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.004609/0.292, allocations: 2.297 MB / 384.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.292, allocations: 9.844 kB / 384.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000288/0.2923, allocations: 238.7 kB / 384.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.2931, allocations: 231.3 kB / 384.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.2951, allocations: 1.198 MB / 385.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-05/0.2952, allocations: 116.9 kB / 386 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.2955, allocations: 156.6 kB / 386.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/0.2986, allocations: 2.032 MB / 388.2 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/0.2987, allocations: 7.125 kB / 388.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.2989, allocations: 61.62 kB / 388.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.813e-05/0.299, allocations: 80.59 kB / 388.4 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.3017, allocations: 1.678 MB / 390 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008488/0.3102, allocations: 7.101 MB / 397.1 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.311, allocations: 468.2 kB / 397.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.3114, allocations: 278.4 kB / 397.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.3117, allocations: 119.6 kB / 398 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3117, allocations: 45.47 kB / 398 MB, free: 14.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.335e-06/0.3117, allocations: 0 / 398 MB, free: 14.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.006563/0.3183, allocations: 3.027 MB / 401.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3183, allocations: 56.41 kB / 401.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.3205, allocations: 1.627 MB / 402.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.3206, allocations: 41.7 kB / 402.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006893/0.3213, allocations: 1.029 MB / 403.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.3215, allocations: 243.6 kB / 404 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/0.3219, allocations: 315.1 kB / 404.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.322, allocations: 305.1 kB / 404.7 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000894/0.3229, allocations: 0.5192 MB / 405.2 MB, free: 9.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.3243, allocations: 1.456 MB / 406.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.3269, allocations: 2.136 MB / 408.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.3269, allocations: 8 kB / 408.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003656/0.3306, allocations: 2.163 MB / 410.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.3306, allocations: 20 kB / 411 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.223e-05/0.3307, allocations: 32 kB / 411 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.3314, allocations: 235.1 kB / 411.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.3325, allocations: 399.2 kB / 411.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.3342, allocations: 1.847 MB / 413.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.3358, allocations: 143.4 kB / 413.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.3359, allocations: 96.08 kB / 413.7 MB, free: 15.57 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.0008686/0.3368, allocations: 0.606 MB / 414.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.3372, allocations: 150.1 kB / 414.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.3392, allocations: 1.086 MB / 415.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3393, allocations: 8 kB / 415.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.3393, allocations: 3.984 kB / 415.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3393, allocations: 0 / 415.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/0.3443, allocations: 2.775 MB / 418.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.3443, allocations: 7.938 kB / 418.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.3448, allocations: 119.8 kB / 418.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.3453, allocations: 174.6 kB / 418.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.3454, allocations: 12 kB / 418.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.347, allocations: 1.785 MB / 420.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.347, allocations: 4.031 kB / 420.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.3496, allocations: 1.634 MB / 422 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006479/0.3503, allocations: 299.2 kB / 422.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000335/0.3506, allocations: 15.98 kB / 422.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.3515, allocations: 47.94 kB / 422.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.3517, allocations: 52.5 kB / 422.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.3517, allocations: 20 kB / 422.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002093/0.3538, allocations: 1.079 MB / 423.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3538, allocations: 0 / 423.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002061/0.3559, allocations: 360 kB / 423.9 MB, free: 5.039 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.003332/0.3593, allocations: 2.253 MB / 426.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.3625, allocations: 1.764 MB / 427.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3626, allocations: 0 / 427.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.3637, allocations: 0.7636 MB / 428.7 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.3662, allocations: 410.1 kB / 429.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/0.395, allocations: 17.04 MB / 446.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.3962, allocations: 1.465 MB / 447.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001144/0.3973, allocations: 354 kB / 447.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008443/0.3982, allocations: 0.636 MB / 448.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3982, allocations: 0 / 448.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/0.4612, allocations: 34.7 MB / 483.3 MB, free: 8.266 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.4614, allocations: 251.5 kB / 483.5 MB, free: 8.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/3.052, allocations: 0 / 483.5 MB, free: 8.012 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