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.0009302/0.0009302, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008517/0.0008517, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9069/0.9069, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.509e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.006492/0.006507, allocations: 8.089 MB / 332.6 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.009944, allocations: 3.003 MB / 335.6 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004443/0.01039, allocations: 55.62 kB / 335.7 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009696/0.01136, allocations: 0.6521 MB / 336.3 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.01245, allocations: 0.7917 MB / 337.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.01285, allocations: 323.4 kB / 337.4 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.0142, allocations: 2.224 MB / 339.7 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007156/0.01491, allocations: 0.7934 MB / 340.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.01588, allocations: 1.38 MB / 341.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007763/0.01666, allocations: 0.9702 MB / 342.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.01683, allocations: 239.9 kB / 343 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.01715, allocations: 331.8 kB / 343.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.01755, allocations: 0.705 MB / 344.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.01801, allocations: 0.7483 MB / 344.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.01983, allocations: 3.166 MB / 348 MB, free: 8.293 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01983, allocations: 4 kB / 348 MB, free: 8.289 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01983, allocations: 4 kB / 348 MB, free: 8.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.01985, allocations: 0 / 348 MB, free: 8.285 MB / 314.7 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.00232/0.02217, allocations: 2.262 MB / 350.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.02221, allocations: 11.98 kB / 350.3 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.02241, allocations: 232.4 kB / 350.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.02278, allocations: 247.5 kB / 350.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.02403, allocations: 1.171 MB / 351.9 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.02409, allocations: 119.5 kB / 352 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.02424, allocations: 152.4 kB / 352.2 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.02621, allocations: 2.104 MB / 354.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.02624, allocations: 15.89 kB / 354.3 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.856e-05/0.02634, allocations: 64 kB / 354.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-05/0.0264, allocations: 78.92 kB / 354.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.02812, allocations: 1.675 MB / 356.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/0.03335, allocations: 6.422 MB / 362.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.03389, allocations: 454.1 kB / 363 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.03415, allocations: 262.2 kB / 363.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.03429, allocations: 48.45 kB / 363.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.03431, allocations: 39.06 kB / 363.3 MB, free: 8.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.014e-06/0.03431, allocations: 0 / 363.3 MB, free: 8.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.003528/0.03784, allocations: 2.906 MB / 366.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.03788, allocations: 64 kB / 366.3 MB, free: 5.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.03924, allocations: 1.686 MB / 368 MB, free: 3.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.03927, allocations: 37.7 kB / 368 MB, free: 3.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.03976, allocations: 1.057 MB / 369 MB, free: 2.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.03988, allocations: 242 kB / 369.3 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.04013, allocations: 319.3 kB / 369.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.04019, allocations: 301.1 kB / 369.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.04073, allocations: 0.527 MB / 370.4 MB, free: 1.238 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008918/0.04162, allocations: 1.454 MB / 371.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.04315, allocations: 2.136 MB / 374 MB, free: 12.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.04315, allocations: 8 kB / 374 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001999/0.04515, allocations: 2.168 MB / 376.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.04518, allocations: 20 kB / 376.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.0452, allocations: 32 kB / 376.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/0.04553, allocations: 226.4 kB / 376.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.04614, allocations: 399.2 kB / 376.8 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.04721, allocations: 1.744 MB / 378.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.04781, allocations: 143.7 kB / 378.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.04789, allocations: 92 kB / 378.8 MB, free: 7.777 MB / 346.7 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.0005025/0.04839, allocations: 0.5944 MB / 379.4 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.04852, allocations: 166.9 kB / 379.6 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.04964, allocations: 1.085 MB / 380.7 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.04965, allocations: 8 kB / 380.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.04965, allocations: 4 kB / 380.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.04966, allocations: 3.984 kB / 380.7 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.05224, allocations: 2.556 MB / 383.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.05224, allocations: 0 / 383.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.0525, allocations: 119.8 kB / 383.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.05273, allocations: 174.4 kB / 383.5 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.05276, allocations: 12 kB / 383.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009356/0.0537, allocations: 1.67 MB / 385.2 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.0537, allocations: 4 kB / 385.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.05526, allocations: 1.643 MB / 386.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.05554, allocations: 234.9 kB / 387.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.05563, allocations: 16 kB / 387.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.05595, allocations: 55.86 kB / 387.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.05605, allocations: 44.42 kB / 387.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.05607, allocations: 23.98 kB / 387.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009562/0.05703, allocations: 1.087 MB / 388.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.05703, allocations: 0 / 388.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000797/0.05783, allocations: 360 kB / 388.7 MB, free: 13.66 MB / 362.7 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.00195/0.05978, allocations: 2.253 MB / 390.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.06136, allocations: 1.412 MB / 392.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.06137, allocations: 4.875 kB / 392.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005644/0.06193, allocations: 0.5733 MB / 392.9 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/0.06292, allocations: 401.5 kB / 393.3 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.078, allocations: 14.99 MB / 408.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.07861, allocations: 0.8821 MB / 409.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005892/0.0792, allocations: 350 kB / 409.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/0.07973, allocations: 0.6448 MB / 410.1 MB, free: 6.926 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.07973, allocations: 0 / 410.1 MB, free: 6.926 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/0.1246, allocations: 37.99 MB / 448.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.149, allocations: 4 kB / 448.1 MB, free: 1.289 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/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: 10.265492059290409]