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.001351/0.001351, allocations: 113.8 kB / 21.19 MB, free: 0.7031 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.001622/0.001622, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.394/1.394, allocations: 207.6 MB / 235.3 MB, free: 9.996 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="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.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.001956/0.001956, allocations: 61.8 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.257, allocations: 49.16 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01129/0.2683, allocations: 11.86 MB / 408.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.2784, allocations: 4.002 MB / 412.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.281, allocations: 75.78 kB / 412.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003128/0.2841, allocations: 0.8881 MB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.2883, allocations: 1.036 MB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.2899, allocations: 0.5382 MB / 414.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004834/0.2947, allocations: 3.452 MB / 418.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.2969, allocations: 1.512 MB / 419.7 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.2996, allocations: 1.572 MB / 421.3 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.3032, allocations: 1.984 MB / 423.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008448/0.3041, allocations: 409.4 kB / 423.7 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.306, allocations: 0.7169 MB / 424.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.3073, allocations: 1.168 MB / 425.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.31, allocations: 1.847 MB / 427.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006566/0.3166, allocations: 5.396 MB / 432.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3166, allocations: 0 / 432.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3166, allocations: 0 / 432.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-05/0.3167, allocations: 0 / 432.8 MB, free: 14.72 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.008008/0.3247, allocations: 3.722 MB / 436.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3248, allocations: 11.98 kB / 436.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005253/0.3253, allocations: 388.1 kB / 436.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.3267, allocations: 450.6 kB / 437.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/0.3303, allocations: 1.793 MB / 439.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.3305, allocations: 201.4 kB / 439.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/0.3309, allocations: 264 kB / 439.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006074/0.337, allocations: 3.529 MB / 443.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.524e-05/0.337, allocations: 7.938 kB / 443.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002585/0.3373, allocations: 108 kB / 443.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.3375, allocations: 121.2 kB / 443.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005319/0.3428, allocations: 2.968 MB / 446.3 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01822/0.361, allocations: 10.83 MB / 457.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.3637, allocations: 1.516 MB / 458.7 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.3658, allocations: 1.098 MB / 459.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.366, allocations: 65.19 kB / 459.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.3661, allocations: 43.88 kB / 459.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.446e-06/0.3661, allocations: 0 / 459.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01643/0.3825, allocations: 7.07 MB / 467 MB, free: 12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.3825, allocations: 64.72 kB / 467 MB, free: 11.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.3858, allocations: 1.983 MB / 469 MB, free: 9.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.3859, allocations: 53.7 kB / 469.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.387, allocations: 1.339 MB / 470.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004753/0.3875, allocations: 0.5307 MB / 470.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/0.388, allocations: 327.4 kB / 471.3 MB, free: 7.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3882, allocations: 309.1 kB / 471.6 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.3897, allocations: 0.8784 MB / 472.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.3917, allocations: 1.373 MB / 473.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/0.3953, allocations: 2.386 MB / 476.2 MB, free: 2.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3953, allocations: 4 kB / 476.2 MB, free: 2.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005373/0.4007, allocations: 2.904 MB / 479.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4007, allocations: 12 kB / 479.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/0.4007, allocations: 19.94 kB / 479.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.4019, allocations: 466.4 kB / 479.6 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.4035, allocations: 431.3 kB / 480 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00725/0.4108, allocations: 5.894 MB / 485.9 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.4127, allocations: 127.8 kB / 486 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.4128, allocations: 72 kB / 486.1 MB, free: 8.105 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.001706/0.4145, allocations: 0.8562 MB / 486.9 MB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/0.415, allocations: 218.6 kB / 487.2 MB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004653/0.4197, allocations: 2.489 MB / 489.7 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/0.4197, allocations: 16 kB / 489.7 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4197, allocations: 8 kB / 489.7 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.4198, allocations: 7.969 kB / 489.7 MB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.4301, allocations: 5.516 MB / 495.2 MB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4301, allocations: 4 kB / 495.2 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.4314, allocations: 284.1 kB / 495.5 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.4327, allocations: 0.4902 MB / 496 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4328, allocations: 39.98 kB / 496 MB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008482/0.4413, allocations: 7.373 MB / 0.4916 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4413, allocations: 4 kB / 0.4916 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006451/0.4478, allocations: 3.769 MB / 0.4953 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.449, allocations: 414.4 kB / 0.4957 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.4493, allocations: 39.98 kB / 0.4957 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.4505, allocations: 99.89 kB / 0.4958 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/0.4508, allocations: 125 kB / 0.4959 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.451, allocations: 43.98 kB / 0.496 GB, free: 1.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002203/0.4532, allocations: 1.363 MB / 0.4973 GB, free: 368 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4532, allocations: 0 / 0.4973 GB, free: 368 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002021/0.4552, allocations: 0.5859 MB / 0.4979 GB, free: 15.77 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.007047/0.4622, allocations: 4.433 MB / 0.5022 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004633/0.4669, allocations: 2.447 MB / 0.5046 GB, free: 8.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4669, allocations: 0 / 0.5046 GB, free: 8.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002807/0.4697, allocations: 1.553 MB / 0.5061 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.4721, allocations: 0.4907 MB / 0.5066 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/0.5071, allocations: 21.65 MB / 0.5277 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/0.5092, allocations: 2.128 MB / 0.5298 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001461/0.5107, allocations: 472.9 kB / 0.5302 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/0.5121, allocations: 1.066 MB / 0.5313 GB, free: 12.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.153e-06/0.5121, allocations: 0 / 0.5313 GB, free: 12.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2867/0.7988, allocations: 55.07 MB / 0.5851 GB, free: 143.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/16.93, allocations: 5.297 kB / 0.5851 GB, free: 143.8 MB / 478.1 MB " [Timeout remaining time 643] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 24.436279152985662]