Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.001042/0.001042, allocations: 87.67 kB / 21.43 MB, free: 3.117 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.004309/0.004309, allocations: 154.1 kB / 24.69 MB, free: 8.906 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.8653/0.8653, allocations: 158.6 MB / 186.5 MB, free: 3.043 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_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.081e-05, allocations: 2.281 kB / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.1194/0.1194, allocations: 10.34 MB / 308.8 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006089/0.1255, allocations: 3.758 MB / 312.5 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.127, allocations: 72.84 kB / 312.6 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.1289, allocations: 0.8471 MB / 313.5 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.1315, allocations: 1.061 MB / 314.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1326, allocations: 0.5378 MB / 315.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.1358, allocations: 3.579 MB / 318.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.1375, allocations: 1.471 MB / 320.1 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.1405, allocations: 2.285 MB / 322.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.1426, allocations: 1.685 MB / 324.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005835/0.1432, allocations: 409.1 kB / 324.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1443, allocations: 0.6209 MB / 325.1 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006619/0.145, allocations: 1.199 MB / 326.3 MB, free: 384 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.1464, allocations: 1.263 MB / 327.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0045/0.1509, allocations: 5.431 MB / 333 MB, free: 11.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1509, allocations: 1.375 kB / 333 MB, free: 11.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1509, allocations: 0 / 333 MB, free: 11.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001106/0.151, allocations: 4.969 kB / 333 MB, free: 11.65 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.005915/0.1569, allocations: 3.684 MB / 336.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.157, allocations: 15.92 kB / 336.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004001/0.1574, allocations: 384.1 kB / 337.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008997/0.1583, allocations: 454.5 kB / 337.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.1608, allocations: 1.789 MB / 339.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.1609, allocations: 206 kB / 339.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/0.1612, allocations: 271.8 kB / 339.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004528/0.1658, allocations: 3.646 MB / 343.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.1658, allocations: 4 kB / 343.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.166, allocations: 112 kB / 343.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.1661, allocations: 123.1 kB / 343.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003782/0.1699, allocations: 2.956 MB / 346.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.1818, allocations: 9.981 MB / 356.6 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.1835, allocations: 1.511 MB / 358.1 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.1848, allocations: 1.098 MB / 359.2 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.1849, allocations: 49.28 kB / 359.3 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.185, allocations: 51.88 kB / 359.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 3.727e-06/0.185, allocations: 0 / 359.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=148): time 0.009936/0.1949, allocations: 7.067 MB / 366.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.195, allocations: 72.64 kB / 366.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.197, allocations: 1.998 MB / 368.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.1972, allocations: 53.7 kB / 368.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/0.1978, allocations: 1.339 MB / 369.8 MB, free: 6.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.1981, allocations: 0.5229 MB / 370.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.1984, allocations: 323.4 kB / 370.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.1985, allocations: 305.1 kB / 371 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009754/0.1995, allocations: 0.8823 MB / 371.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.2007, allocations: 1.377 MB / 373.2 MB, free: 2.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.2029, allocations: 2.386 MB / 375.6 MB, free: 360 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.2029, allocations: 5.062 kB / 375.6 MB, free: 356 kB / 330.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003374/0.2063, allocations: 2.904 MB / 378.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.2063, allocations: 12 kB / 378.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.2063, allocations: 16 kB / 378.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007165/0.207, allocations: 462.3 kB / 379 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.2079, allocations: 427.3 kB / 379.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004379/0.2123, allocations: 5.849 MB / 385.3 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.2135, allocations: 119.9 kB / 385.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.2137, allocations: 79.98 kB / 385.5 MB, free: 6.246 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * 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,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001279/0.215, allocations: 0.8523 MB / 386.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.2153, allocations: 218.6 kB / 386.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.2183, allocations: 2.5 MB / 389 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.2183, allocations: 23.98 kB / 389 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.2183, allocations: 4 kB / 389.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.2183, allocations: 8.062 kB / 389.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/0.2247, allocations: 5.201 MB / 394.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.2247, allocations: 4 kB / 394.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.2254, allocations: 279.6 kB / 394.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008371/0.2262, allocations: 0.4909 MB / 395 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/0.2263, allocations: 35.98 kB / 395.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.2313, allocations: 7.307 MB / 402.4 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.2313, allocations: 11.88 kB / 402.4 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/0.2355, allocations: 3.742 MB / 406.1 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008342/0.2363, allocations: 422.4 kB / 406.5 MB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.2365, allocations: 39.98 kB / 406.6 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.2372, allocations: 95.88 kB / 406.7 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.2374, allocations: 133 kB / 406.8 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/0.2374, allocations: 43.98 kB / 406.8 MB, free: 284 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00145/0.2389, allocations: 1.36 MB / 408.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2389, allocations: 0 / 408.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001528/0.2404, allocations: 0.5897 MB / 408.8 MB, free: 14.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * 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,16,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.004381/0.2448, allocations: 4.425 MB / 413.2 MB, free: 9.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.2478, allocations: 2.443 MB / 415.7 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2478, allocations: 4.438 kB / 415.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.2495, allocations: 1.549 MB / 417.2 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.2511, allocations: 0.4899 MB / 417.7 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02661/0.2777, allocations: 21.59 MB / 439.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.279, allocations: 1.584 MB / 440.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001004/0.28, allocations: 472.9 kB / 441.3 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.281, allocations: 1.063 MB / 442.4 MB, free: 11.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.281, allocations: 0 / 442.4 MB, free: 11.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1807/0.4617, allocations: 56.82 MB / 499.2 MB, free: 132.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.794/9.256, allocations: 10.89 kB / 499.2 MB, free: 132.2 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_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_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.134864800609648]