Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005216/0.005216, allocations: 160.8 kB / 24.69 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.815/0.815, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/2.043e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.1284/0.1284, allocations: 10.04 MB / 308.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.1339, allocations: 3.702 MB / 312.2 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.1352, allocations: 71.91 kB / 312.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.1368, allocations: 0.8188 MB / 313.1 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.1391, allocations: 1.03 MB / 314.1 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1401, allocations: 0.5222 MB / 314.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.1431, allocations: 3.334 MB / 318 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.1447, allocations: 1.405 MB / 319.4 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.1477, allocations: 2.14 MB / 321.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.1498, allocations: 1.56 MB / 323.1 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005142/0.1503, allocations: 386.5 kB / 323.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009714/0.1512, allocations: 0.6008 MB / 324 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005986/0.1518, allocations: 1.111 MB / 325.2 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009709/0.1528, allocations: 1.188 MB / 326.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.1565, allocations: 5.104 MB / 331.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1565, allocations: 2.406 kB / 331.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1565, allocations: 0 / 331.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.204e-05/0.1566, allocations: 0 / 331.5 MB, free: 12.8 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.004612/0.1612, allocations: 3.447 MB / 334.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1612, allocations: 19.92 kB / 334.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003527/0.1616, allocations: 354.9 kB / 335.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/0.1624, allocations: 430.7 kB / 335.7 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.1646, allocations: 1.666 MB / 337.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.1647, allocations: 193.4 kB / 337.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.1649, allocations: 252.5 kB / 337.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/0.1686, allocations: 3.373 MB / 341.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.1687, allocations: 11.94 kB / 341.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.1688, allocations: 99.98 kB / 341.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.316e-05/0.1689, allocations: 120.9 kB / 341.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.1721, allocations: 2.69 MB / 344.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.1822, allocations: 9.304 MB / 353.4 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.1836, allocations: 1.247 MB / 354.6 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.1847, allocations: 0.9796 MB / 355.6 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.1848, allocations: 48.97 kB / 355.7 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1849, allocations: 55.48 kB / 355.7 MB, free: 4.922 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 2.815e-06/0.1849, allocations: 1.5 kB / 355.7 MB, free: 4.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=134): time 0.009982/0.1949, allocations: 7.065 MB / 362.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1949, allocations: 68.66 kB / 362.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.1969, allocations: 1.904 MB / 364.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/0.197, allocations: 45.7 kB / 364.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006286/0.1976, allocations: 1.268 MB / 366.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/0.198, allocations: 483.9 kB / 366.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.1983, allocations: 299.4 kB / 366.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.1984, allocations: 305.1 kB / 367.1 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008815/0.1992, allocations: 0.812 MB / 367.9 MB, free: 8.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.2004, allocations: 1.309 MB / 369.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.2027, allocations: 2.247 MB / 371.5 MB, free: 4.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.2027, allocations: 12 kB / 371.5 MB, free: 4.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.002995/0.2057, allocations: 2.713 MB / 374.2 MB, free: 1.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2057, allocations: 12 kB / 374.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.2057, allocations: 16 kB / 374.2 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/0.2063, allocations: 426.4 kB / 374.7 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.2071, allocations: 395.3 kB / 375 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/0.2114, allocations: 5.545 MB / 380.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.2126, allocations: 119.8 kB / 380.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.2127, allocations: 79.92 kB / 380.8 MB, free: 11.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.2138, allocations: 0.7823 MB / 381.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.2141, allocations: 206.7 kB / 381.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.217, allocations: 2.3 MB / 384.1 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.217, allocations: 16 kB / 384.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.217, allocations: 4 kB / 384.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.217, allocations: 11.97 kB / 384.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.2228, allocations: 4.851 MB / 388.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.2228, allocations: 4 kB / 389 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.2234, allocations: 260.2 kB / 389.2 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/0.2241, allocations: 454.1 kB / 389.7 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.2242, allocations: 39.97 kB / 389.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00485/0.229, allocations: 6.968 MB / 396.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.229, allocations: 11.94 kB / 396.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.2331, allocations: 3.485 MB / 400.2 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008471/0.234, allocations: 382.6 kB / 400.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.2342, allocations: 36 kB / 400.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.2348, allocations: 108 kB / 400.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.235, allocations: 116.7 kB / 400.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.2351, allocations: 43.98 kB / 400.8 MB, free: 6.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001496/0.2366, allocations: 1.294 MB / 402.1 MB, free: 5.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2366, allocations: 0 / 402.1 MB, free: 5.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001481/0.2381, allocations: 0.5428 MB / 402.7 MB, free: 4.613 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (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.004415/0.2425, allocations: 4.154 MB / 406.8 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.2454, allocations: 2.273 MB / 409.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.2454, allocations: 4 kB / 409.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.2469, allocations: 1.46 MB / 410.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.2486, allocations: 444.7 kB / 411 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/0.2738, allocations: 20.33 MB / 431.3 MB, free: 6.996 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.275, allocations: 1.447 MB / 432.8 MB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000917/0.2759, allocations: 427.7 kB / 433.2 MB, free: 5.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.2771, allocations: 0.9924 MB / 434.2 MB, free: 4.098 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2771, allocations: 0 / 434.2 MB, free: 4.098 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2062/0.4833, allocations: 52.04 MB / 486.2 MB, free: 136 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.832/9.315, allocations: 0.5156 kB / 486.2 MB, free: 136 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 14.14119301084429]