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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002278/0.002278, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 7.73 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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.88 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2367, allocations: 53.4 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01147/0.2482, allocations: 8.07 MB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006869/0.255, allocations: 2.988 MB / 442.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.2567, allocations: 51.69 kB / 442.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.2588, allocations: 0.6561 MB / 442.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.2612, allocations: 0.7691 MB / 443.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009239/0.2621, allocations: 323.5 kB / 444 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.2648, allocations: 2.143 MB / 446.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.2662, allocations: 0.7935 MB / 446.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.2676, allocations: 0.9615 MB / 447.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.2694, allocations: 1.093 MB / 449 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.2698, allocations: 232 kB / 449.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007577/0.2706, allocations: 323.8 kB / 449.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007404/0.2713, allocations: 0.6972 MB / 450.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.2724, allocations: 0.8828 MB / 451.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.2762, allocations: 3.168 MB / 454.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2762, allocations: 0 / 454.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2762, allocations: 4 kB / 454.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.802e-05/0.2763, allocations: 0 / 454.3 MB, free: 15.17 MB / 366.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.00507/0.2814, allocations: 2.286 MB / 456.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.2814, allocations: 11.98 kB / 456.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003657/0.2818, allocations: 236.4 kB / 456.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007175/0.2825, allocations: 239.5 kB / 457 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.2852, allocations: 1.176 MB / 458.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.2853, allocations: 115.2 kB / 458.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.2856, allocations: 152 kB / 458.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003789/0.2894, allocations: 2.104 MB / 460.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/0.2895, allocations: 7.953 kB / 460.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.2896, allocations: 68 kB / 460.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.951e-05/0.2897, allocations: 74.88 kB / 460.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.2928, allocations: 1.674 MB / 462.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.3035, allocations: 6.423 MB / 468.8 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.3044, allocations: 457.2 kB / 469.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.3049, allocations: 262 kB / 469.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.3051, allocations: 36.41 kB / 469.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3051, allocations: 43 kB / 469.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.355e-06/0.3051, allocations: 0 / 469.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007461/0.3126, allocations: 2.918 MB / 472.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3126, allocations: 64.06 kB / 472.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.3153, allocations: 1.686 MB / 474.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.3154, allocations: 37.7 kB / 474.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008926/0.3163, allocations: 1.057 MB / 475.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.3166, allocations: 250 kB / 475.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/0.3171, allocations: 319.3 kB / 475.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.3172, allocations: 301.1 kB / 476.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.3182, allocations: 0.527 MB / 476.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.3199, allocations: 1.454 MB / 478.2 MB, free: 6.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/0.3231, allocations: 2.136 MB / 480.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-05/0.3231, allocations: 12 kB / 480.4 MB, free: 3.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004298/0.3274, allocations: 2.159 MB / 482.5 MB, free: 1.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.3275, allocations: 20 kB / 482.5 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.503e-05/0.3275, allocations: 32 kB / 482.6 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.3281, allocations: 231.1 kB / 482.8 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3294, allocations: 399.2 kB / 483.2 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.3314, allocations: 1.736 MB / 484.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.3328, allocations: 147.7 kB / 485.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.333, allocations: 95.98 kB / 485.2 MB, free: 14.64 MB / 398.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.0009738/0.3339, allocations: 0.5944 MB / 485.7 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.3342, allocations: 159 kB / 485.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.3364, allocations: 1.089 MB / 487 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3364, allocations: 4 kB / 487 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3364, allocations: 0 / 487 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.3365, allocations: 7.984 kB / 487 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005304/0.3418, allocations: 2.563 MB / 489.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3418, allocations: 3.984 kB / 489.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.3423, allocations: 127.7 kB / 489.7 MB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.3428, allocations: 162.6 kB / 489.9 MB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3428, allocations: 15.98 kB / 489.9 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.3448, allocations: 1.678 MB / 491.5 MB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.3448, allocations: 11.95 kB / 491.6 MB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/0.3479, allocations: 1.643 MB / 493.2 MB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008169/0.3487, allocations: 230.9 kB / 493.4 MB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.3489, allocations: 15.98 kB / 493.4 MB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.3496, allocations: 56 kB / 493.5 MB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.3497, allocations: 56.28 kB / 493.6 MB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.3498, allocations: 20 kB / 493.6 MB, free: 5.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001835/0.3516, allocations: 1.079 MB / 494.6 MB, free: 4.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3516, allocations: 3.938 kB / 494.7 MB, free: 4.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001552/0.3532, allocations: 359.9 kB / 495 MB, free: 4.488 MB / 398.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.003435/0.3566, allocations: 2.256 MB / 497.3 MB, free: 2.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002874/0.3595, allocations: 1.417 MB / 498.7 MB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3595, allocations: 0 / 498.7 MB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.3606, allocations: 0.5775 MB / 499.3 MB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.3627, allocations: 395.5 kB / 499.6 MB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/0.3864, allocations: 14.99 MB / 0.5026 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.3874, allocations: 0.8937 MB / 0.5034 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001088/0.3885, allocations: 354 kB / 0.5038 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009176/0.3895, allocations: 0.6398 MB / 0.5044 GB, free: 13.76 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3895, allocations: 0 / 0.5044 GB, free: 13.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2846/0.6741, allocations: 38.02 MB / 0.5415 GB, free: 104.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.25, allocations: 0 / 0.5415 GB, free: 104.5 MB / 446.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.015981398057193]