Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001389/0.001389, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001803/0.001803, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 43.94 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2819, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01486/0.2968, allocations: 11.94 MB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009071/0.3058, allocations: 4.013 MB / 447.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.3083, allocations: 83.44 kB / 448 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.311, allocations: 0.8894 MB / 448.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.3149, allocations: 1.037 MB / 449.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.3163, allocations: 0.546 MB / 450.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004817/0.3211, allocations: 3.467 MB / 453.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002774/0.3239, allocations: 1.538 MB / 455.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.3266, allocations: 1.581 MB / 457 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.3298, allocations: 2 MB / 459 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007167/0.3305, allocations: 408 kB / 459.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.332, allocations: 0.6947 MB / 460.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.3332, allocations: 1.161 MB / 461.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.3357, allocations: 1.847 MB / 463.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006652/0.3424, allocations: 5.407 MB / 468.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3424, allocations: 0 / 468.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3424, allocations: 0 / 468.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001774/0.3426, allocations: 4 kB / 468.6 MB, free: 2.066 MB / 366.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.009139/0.3517, allocations: 3.738 MB / 472.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.3517, allocations: 12.03 kB / 472.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.746e-05/0.3518, allocations: 73.58 kB / 472.4 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006419/0.3525, allocations: 392.1 kB / 472.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.3541, allocations: 486.5 kB / 473.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/0.3581, allocations: 1.91 MB / 475.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.3583, allocations: 201.4 kB / 475.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/0.3587, allocations: 268 kB / 475.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007035/0.3658, allocations: 3.533 MB / 479.1 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-05/0.3658, allocations: 3.938 kB / 479.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/0.3662, allocations: 108 kB / 479.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.3664, allocations: 125.2 kB / 479.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0061/0.3725, allocations: 2.964 MB / 482.3 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02008/0.3926, allocations: 10.83 MB / 493.2 MB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.3952, allocations: 1.506 MB / 494.7 MB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/0.3973, allocations: 1.098 MB / 495.8 MB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.3975, allocations: 49.27 kB / 495.8 MB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.3976, allocations: 55.86 kB / 495.9 MB, free: 6.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.927e-06/0.3976, allocations: 0 / 495.9 MB, free: 6.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01668/0.4143, allocations: 7.103 MB / 0.4912 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.4143, allocations: 68.72 kB / 0.4912 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.4174, allocations: 1.988 MB / 0.4932 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.4176, allocations: 49.7 kB / 0.4932 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.4188, allocations: 1.35 MB / 0.4946 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004823/0.4192, allocations: 0.5346 MB / 0.4951 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005361/0.4198, allocations: 323.5 kB / 0.4954 GB, free: 10.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4199, allocations: 301.1 kB / 0.4957 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.4214, allocations: 0.8823 MB / 0.4965 GB, free: 9.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.4234, allocations: 1.38 MB / 0.4979 GB, free: 7.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/0.427, allocations: 2.377 MB / 0.5002 GB, free: 5.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.427, allocations: 4 kB / 0.5002 GB, free: 5.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005603/0.4326, allocations: 2.919 MB / 0.5031 GB, free: 2.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.4327, allocations: 8 kB / 0.5031 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.4327, allocations: 16 kB / 0.5031 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.4339, allocations: 465.7 kB / 0.5035 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.4355, allocations: 435.3 kB / 0.5039 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007259/0.4428, allocations: 5.891 MB / 0.5097 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.4447, allocations: 127.8 kB / 0.5098 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.445, allocations: 76 kB / 0.5099 GB, free: 11.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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.001725/0.4467, allocations: 0.8525 MB / 0.5107 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/0.4472, allocations: 226.5 kB / 0.5109 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00483/0.452, allocations: 2.501 MB / 0.5134 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.702e-05/0.452, allocations: 19.98 kB / 0.5134 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.4521, allocations: 8 kB / 0.5134 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.4521, allocations: 7.969 kB / 0.5134 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.4622, allocations: 5.507 MB / 0.5188 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.4622, allocations: 4 kB / 0.5188 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.4635, allocations: 284 kB / 0.5191 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.4648, allocations: 0.498 MB / 0.5196 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.465, allocations: 35.98 kB / 0.5196 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008754/0.4737, allocations: 7.371 MB / 0.5268 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4737, allocations: 4 kB / 0.5268 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006656/0.4804, allocations: 3.761 MB / 0.5305 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.4816, allocations: 418.4 kB / 0.5309 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.482, allocations: 35.98 kB / 0.5309 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.4831, allocations: 99.89 kB / 0.531 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/0.4834, allocations: 121 kB / 0.5311 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.4836, allocations: 43.98 kB / 0.5311 GB, free: 4.832 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002287/0.4858, allocations: 1.368 MB / 0.5325 GB, free: 3.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4858, allocations: 0 / 0.5325 GB, free: 3.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002089/0.4879, allocations: 0.5859 MB / 0.5331 GB, free: 2.855 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (125): * Single equations (assignments): 120 * 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.2331/0.721, allocations: 4.429 MB / 0.5374 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004471/0.7255, allocations: 2.448 MB / 0.5398 GB, free: 99.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7255, allocations: 1.594 kB / 0.5398 GB, free: 99.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002453/0.7279, allocations: 1.546 MB / 0.5413 GB, free: 98.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.7305, allocations: 0.4895 MB / 0.5418 GB, free: 98.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/0.7587, allocations: 21.68 MB / 0.5629 GB, free: 83.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.76, allocations: 2.136 MB / 0.565 GB, free: 81.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001403/0.7614, allocations: 472.9 kB / 0.5655 GB, free: 81.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.7625, allocations: 1.065 MB / 0.5665 GB, free: 80.16 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7625, allocations: 0 / 0.5665 GB, free: 80.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09022/0.8528, allocations: 55.26 MB / 0.6205 GB, free: 25.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/16.89, allocations: 9.188 kB / 0.6205 GB, free: 25.37 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.97460030502407]