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.00127/0.00127, allocations: 105.3 kB / 21.96 MB, free: 4.691 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.001348/0.001348, allocations: 225.5 kB / 25.26 MB, free: 2.824 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.333/1.333, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.001749/0.001749, allocations: 48.3 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2503, allocations: 49.17 MB / 397.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01094/0.2613, allocations: 10.31 MB / 407.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008439/0.2697, allocations: 3.756 MB / 411.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/0.2725, allocations: 76.06 kB / 411.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.2752, allocations: 0.8351 MB / 412.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003723/0.2789, allocations: 1.035 MB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2804, allocations: 0.5352 MB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004484/0.2849, allocations: 3.452 MB / 417.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.2871, allocations: 1.517 MB / 418.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.2895, allocations: 1.575 MB / 420.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003455/0.293, allocations: 1.985 MB / 422.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006633/0.2936, allocations: 408.7 kB / 422.6 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.2953, allocations: 0.6395 MB / 423.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.2965, allocations: 1.16 MB / 424.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.2987, allocations: 1.493 MB / 425.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006372/0.305, allocations: 5.407 MB / 431.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.3051, allocations: 3.984 kB / 431.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3051, allocations: 0 / 431.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001301/0.3052, allocations: 0 / 431.3 MB, free: 0.7969 MB / 334.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.007892/0.3131, allocations: 3.722 MB / 435.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3131, allocations: 11.98 kB / 435.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.785e-05/0.3132, allocations: 77.52 kB / 435.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005164/0.3137, allocations: 388 kB / 435.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.3151, allocations: 454.6 kB / 436 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.3184, allocations: 1.781 MB / 437.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.3186, allocations: 205.3 kB / 437.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000446/0.3191, allocations: 275.9 kB / 438.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006403/0.3255, allocations: 3.65 MB / 441.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.153e-05/0.3255, allocations: 4 kB / 441.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.3258, allocations: 108 kB / 442 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.3259, allocations: 117.3 kB / 442.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00532/0.3313, allocations: 2.972 MB / 445.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.3496, allocations: 9.967 MB / 455 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.3521, allocations: 1.517 MB / 456.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.354, allocations: 1.109 MB / 457.7 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.3543, allocations: 49.27 kB / 457.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.3543, allocations: 51.88 kB / 457.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 4.158e-06/0.3543, allocations: 0 / 457.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01613/0.3705, allocations: 7.066 MB / 464.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3705, allocations: 64.72 kB / 464.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/0.3741, allocations: 1.983 MB / 466.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.3743, allocations: 49.7 kB / 466.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.3754, allocations: 1.339 MB / 468.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/0.3759, allocations: 0.5346 MB / 468.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006254/0.3766, allocations: 331.4 kB / 469.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3767, allocations: 305.1 kB / 469.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.3783, allocations: 0.8784 MB / 470.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.3802, allocations: 1.369 MB / 471.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.3838, allocations: 2.386 MB / 474 MB, free: 4.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.3839, allocations: 8 kB / 474 MB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00564/0.3895, allocations: 2.907 MB / 477 MB, free: 2.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3895, allocations: 8 kB / 477 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/0.3896, allocations: 16 kB / 477 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.3908, allocations: 458.6 kB / 477.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.3925, allocations: 427.3 kB / 477.8 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007225/0.3997, allocations: 5.859 MB / 483.7 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.4015, allocations: 119.8 kB / 483.8 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/0.4018, allocations: 75.98 kB / 483.9 MB, free: 10.87 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.001731/0.4035, allocations: 0.8602 MB / 484.8 MB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.4042, allocations: 218.6 kB / 485 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/0.4091, allocations: 2.493 MB / 487.5 MB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/0.4092, allocations: 16 kB / 487.5 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/0.4092, allocations: 4 kB / 487.5 MB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.4092, allocations: 15.91 kB / 487.5 MB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.4206, allocations: 5.185 MB / 492.7 MB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.4206, allocations: 4 kB / 492.7 MB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.4219, allocations: 284.1 kB / 493 MB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.4233, allocations: 0.4902 MB / 493.5 MB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.4235, allocations: 39.98 kB / 493.5 MB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008557/0.432, allocations: 7.315 MB / 0.4891 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.432, allocations: 4.234 kB / 0.4891 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006732/0.4388, allocations: 3.765 MB / 0.4927 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.44, allocations: 418.4 kB / 0.4931 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005137/0.4405, allocations: 32 kB / 0.4932 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.4419, allocations: 115.8 kB / 0.4933 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/0.4422, allocations: 121 kB / 0.4934 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.4423, allocations: 48.08 kB / 0.4934 GB, free: 4.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002583/0.4449, allocations: 1.359 MB / 0.4948 GB, free: 3.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4449, allocations: 0 / 0.4948 GB, free: 3.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002402/0.4473, allocations: 0.582 MB / 0.4953 GB, free: 2.914 MB / 414.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.007152/0.4545, allocations: 4.448 MB / 0.4997 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004576/0.459, allocations: 2.45 MB / 0.5021 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4591, allocations: 0 / 0.5021 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.4618, allocations: 1.545 MB / 0.5036 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.4647, allocations: 0.4943 MB / 0.5041 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04071/0.5054, allocations: 21.64 MB / 0.5252 GB, free: 3.461 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/0.5079, allocations: 1.58 MB / 0.5267 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001698/0.5096, allocations: 469 kB / 0.5272 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/0.5113, allocations: 1.062 MB / 0.5282 GB, free: 328 kB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5113, allocations: 0 / 0.5282 GB, free: 328 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2817/0.793, allocations: 56.88 MB / 0.5838 GB, free: 143.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.3, allocations: 8.062 kB / 0.5838 GB, free: 143.3 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: 28.169861965929158]