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.007201/0.007201, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 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.002105/0.002105, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.319/1.319, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.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.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 56.34 kB / 348 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2319, allocations: 49.16 MB / 397.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01031/0.2422, allocations: 11.85 MB / 409 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008316/0.2506, allocations: 4.006 MB / 413 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.2527, allocations: 68.12 kB / 413.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.2553, allocations: 0.8889 MB / 414 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.2589, allocations: 1.039 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.2603, allocations: 0.5406 MB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004657/0.265, allocations: 3.457 MB / 419 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.267, allocations: 1.511 MB / 420.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.2694, allocations: 1.567 MB / 422.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.2724, allocations: 1.993 MB / 424.1 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005293/0.2729, allocations: 408.4 kB / 424.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.2743, allocations: 0.7165 MB / 425.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.2754, allocations: 1.173 MB / 426.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.2775, allocations: 1.828 MB / 428.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005855/0.2833, allocations: 5.399 MB / 433.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2833, allocations: 0 / 433.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2833, allocations: 0 / 433.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001308/0.2834, allocations: 0 / 433.6 MB, free: 14.73 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.008345/0.2918, allocations: 3.73 MB / 437.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2918, allocations: 15.92 kB / 437.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.8e-05/0.2919, allocations: 73.58 kB / 437.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000492/0.2924, allocations: 388.1 kB / 437.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.2937, allocations: 450.6 kB / 438.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/0.2974, allocations: 1.789 MB / 440 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.2976, allocations: 205.4 kB / 440.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005002/0.2981, allocations: 271.9 kB / 440.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006793/0.3049, allocations: 3.525 MB / 444 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.668e-05/0.3049, allocations: 8 kB / 444 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.3052, allocations: 108 kB / 444.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.3053, allocations: 121.2 kB / 444.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005428/0.3107, allocations: 2.964 MB / 447.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/0.3295, allocations: 10.83 MB / 458 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.3322, allocations: 1.512 MB / 459.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.3342, allocations: 1.113 MB / 460.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.3345, allocations: 57.2 kB / 460.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.3345, allocations: 43.88 kB / 460.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 2.996e-06/0.3345, allocations: 0 / 460.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01665/0.3512, allocations: 7.066 MB / 467.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3512, allocations: 68.72 kB / 467.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/0.3547, allocations: 1.979 MB / 469.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.3549, allocations: 53.7 kB / 469.9 MB, free: 9.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.356, allocations: 1.343 MB / 471.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/0.3565, allocations: 0.5307 MB / 471.8 MB, free: 7.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005988/0.3571, allocations: 327.4 kB / 472.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3572, allocations: 301.1 kB / 472.4 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.3588, allocations: 0.8822 MB / 473.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.3609, allocations: 1.38 MB / 474.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/0.3647, allocations: 2.382 MB / 477.1 MB, free: 2.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.3647, allocations: 4 kB / 477.1 MB, free: 2.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005755/0.3705, allocations: 2.904 MB / 480 MB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.3705, allocations: 12 kB / 480 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/0.3706, allocations: 16.38 kB / 480 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.3718, allocations: 462.2 kB / 480.4 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.3735, allocations: 427.3 kB / 480.9 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007299/0.3808, allocations: 5.906 MB / 486.8 MB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.3826, allocations: 123.8 kB / 486.9 MB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.3829, allocations: 75.98 kB / 487 MB, free: 8.023 MB / 398.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.001702/0.3846, allocations: 0.8524 MB / 487.8 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006189/0.3852, allocations: 218.6 kB / 488 MB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/0.3901, allocations: 2.493 MB / 490.5 MB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.342e-05/0.3901, allocations: 23.98 kB / 490.5 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.3901, allocations: 4 kB / 490.5 MB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.3902, allocations: 7.984 kB / 490.6 MB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.4014, allocations: 5.508 MB / 496.1 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.4014, allocations: 4 kB / 496.1 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.4026, allocations: 284.1 kB / 496.3 MB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.4041, allocations: 0.4941 MB / 496.8 MB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.4043, allocations: 43.97 kB / 496.9 MB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008444/0.4127, allocations: 7.369 MB / 0.4924 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.4127, allocations: 7.938 kB / 0.4924 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006702/0.4194, allocations: 3.761 MB / 0.4961 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.4207, allocations: 418.4 kB / 0.4965 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005574/0.4213, allocations: 36 kB / 0.4965 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.4227, allocations: 107.8 kB / 0.4966 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.423, allocations: 125 kB / 0.4968 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.4231, allocations: 43.98 kB / 0.4968 GB, free: 1.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002619/0.4257, allocations: 1.367 MB / 0.4981 GB, free: 276 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4257, allocations: 0 / 0.4981 GB, free: 276 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.00233/0.4281, allocations: 0.582 MB / 0.4987 GB, free: 15.68 MB / 430.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.007067/0.4351, allocations: 4.436 MB / 0.503 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004471/0.4396, allocations: 2.446 MB / 0.5054 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4396, allocations: 0.875 kB / 0.5054 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002751/0.4424, allocations: 1.552 MB / 0.5069 GB, free: 7.098 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.4452, allocations: 498.3 kB / 0.5074 GB, free: 6.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04041/0.4856, allocations: 21.63 MB / 0.5285 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/0.4883, allocations: 2.136 MB / 0.5306 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.4899, allocations: 472.9 kB / 0.5311 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/0.4915, allocations: 1.062 MB / 0.5321 GB, free: 12.56 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4915, allocations: 4 kB / 0.5321 GB, free: 12.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2525/0.7441, allocations: 55.12 MB / 0.5859 GB, free: 140.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.89, allocations: 16.83 kB / 0.586 GB, free: 140.9 MB / 478.1 MB " [Timeout remaining time 644] (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/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/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 655] Reference file matches [Calling sys.exit(0), Time elapsed: 27.647904485987965]