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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 122.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 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 1.372/1.372, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 52.39 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08716, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01408/0.1012, allocations: 11.81 MB / 403.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007605/0.1088, allocations: 3.995 MB / 407.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.1104, allocations: 55.75 kB / 407.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.1125, allocations: 0.8929 MB / 408.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.1154, allocations: 1.021 MB / 409.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.1167, allocations: 0.5266 MB / 409.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004175/0.1209, allocations: 3.444 MB / 413.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.1233, allocations: 1.931 MB / 415.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.1254, allocations: 1.542 MB / 416.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.128, allocations: 1.973 MB / 418.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005331/0.1285, allocations: 408 kB / 419 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1296, allocations: 0.6675 MB / 419.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.1308, allocations: 1.161 MB / 420.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.1329, allocations: 1.843 MB / 422.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006219/0.1391, allocations: 5.383 MB / 428 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.1391, allocations: 3.938 kB / 428 MB, free: 3.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1391, allocations: 4 kB / 428 MB, free: 3.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001325/0.1392, allocations: 0 / 428 MB, free: 3.871 MB / 350.1 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.008453/0.1477, allocations: 3.79 MB / 431.8 MB, free: 12 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.1477, allocations: 16.02 kB / 431.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005232/0.1483, allocations: 384 kB / 432.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.1497, allocations: 454.6 kB / 432.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/0.1533, allocations: 1.869 MB / 434.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.1535, allocations: 197.4 kB / 434.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/0.1539, allocations: 271.9 kB / 435 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005932/0.1598, allocations: 3.529 MB / 438.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.046e-05/0.1599, allocations: 0 / 438.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/0.1601, allocations: 108 kB / 438.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.1602, allocations: 121.2 kB / 438.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005377/0.1656, allocations: 2.972 MB / 441.7 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.1838, allocations: 11 MB / 452.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.1867, allocations: 2.198 MB / 454.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.1887, allocations: 1.105 MB / 456 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/0.1891, allocations: 207.5 kB / 456.2 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.1891, allocations: 43.88 kB / 456.3 MB, free: 6.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.506e-06/0.1891, allocations: 4 kB / 456.3 MB, free: 6.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.2219/0.411, allocations: 7.515 MB / 463.8 MB, free: 61.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.4111, allocations: 67.25 kB / 463.8 MB, free: 61.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/0.4145, allocations: 1.977 MB / 465.8 MB, free: 61.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002609/0.4148, allocations: 49.89 kB / 465.9 MB, free: 61.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000759/0.4156, allocations: 1.345 MB / 467.2 MB, free: 60.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000455/0.416, allocations: 0.5296 MB / 467.7 MB, free: 60.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/0.4166, allocations: 329.2 kB / 468.1 MB, free: 60.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.034e-05/0.4166, allocations: 306.8 kB / 468.4 MB, free: 60.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.418, allocations: 0.8843 MB / 469.3 MB, free: 59.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4195, allocations: 1.374 MB / 470.6 MB, free: 58.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.4225, allocations: 2.381 MB / 473 MB, free: 57.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.4225, allocations: 4.688 kB / 473 MB, free: 57.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004934/0.4275, allocations: 2.984 MB / 476 MB, free: 56.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.4275, allocations: 12.44 kB / 476 MB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/0.4275, allocations: 14.16 kB / 476 MB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4287, allocations: 462.4 kB / 476.5 MB, free: 56.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.4302, allocations: 425.7 kB / 476.9 MB, free: 56.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.4353, allocations: 6.114 MB / 483 MB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.4372, allocations: 125 kB / 483.1 MB, free: 51.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.4375, allocations: 82.09 kB / 483.2 MB, free: 51.88 MB / 382.1 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.001439/0.4389, allocations: 0.8577 MB / 484.1 MB, free: 51.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.4394, allocations: 216.9 kB / 484.3 MB, free: 51.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.4432, allocations: 2.572 MB / 486.8 MB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/0.4432, allocations: 16.22 kB / 486.9 MB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4432, allocations: 6.75 kB / 486.9 MB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.4432, allocations: 7.969 kB / 486.9 MB, free: 50.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008294/0.4515, allocations: 5.611 MB / 492.5 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.4515, allocations: 6.453 kB / 492.5 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.4526, allocations: 276.1 kB / 492.8 MB, free: 46.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.4537, allocations: 0.5021 MB / 493.3 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/0.4538, allocations: 39.92 kB / 493.3 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/0.4594, allocations: 7.669 MB / 0.4892 GB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4595, allocations: 9.469 kB / 0.4892 GB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/0.4643, allocations: 3.842 MB / 0.493 GB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.4654, allocations: 497.5 kB / 0.4935 GB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.4657, allocations: 35.98 kB / 0.4935 GB, free: 33.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.4668, allocations: 103.8 kB / 0.4936 GB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.467, allocations: 113.1 kB / 0.4937 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.4671, allocations: 43.98 kB / 0.4937 GB, free: 33.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001573/0.4687, allocations: 1.363 MB / 0.4951 GB, free: 31.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4687, allocations: 0 / 0.4951 GB, free: 31.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001844/0.4705, allocations: 0.5879 MB / 0.4957 GB, free: 31.12 MB / 382.1 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.004985/0.4755, allocations: 4.52 MB / 0.5001 GB, free: 26.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.4792, allocations: 2.517 MB / 0.5025 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4792, allocations: 0 / 0.5025 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.4813, allocations: 1.55 MB / 0.504 GB, free: 22.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.4835, allocations: 0.4965 MB / 0.5045 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/0.5132, allocations: 21.76 MB / 0.5258 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/0.5155, allocations: 2.136 MB / 0.5279 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001579/0.517, allocations: 472.9 kB / 0.5283 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/0.5187, allocations: 1.062 MB / 0.5294 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5187, allocations: 0 / 0.5294 GB, free: 11.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/0.6367, allocations: 53.68 MB / 0.5818 GB, free: 5.926 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.85, allocations: 7.938 kB / 0.5818 GB, free: 5.918 MB / 446.1 MB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 22.540269268210977]