Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 53.33 MB / 426.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.2223/0.3309, allocations: 11.89 MB / 438.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00768/0.3386, allocations: 4.002 MB / 442.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.3412, allocations: 68.5 kB / 442.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.344, allocations: 0.8867 MB / 443.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.3485, allocations: 1.022 MB / 444.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.3503, allocations: 0.5294 MB / 445.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005539/0.3559, allocations: 3.47 MB / 448.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.3592, allocations: 1.963 MB / 450.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.3626, allocations: 1.553 MB / 452.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0046/0.3672, allocations: 1.985 MB / 454 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.3686, allocations: 409.5 kB / 454.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.3713, allocations: 0.644 MB / 455.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.3735, allocations: 1.159 MB / 456.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004718/0.3782, allocations: 1.85 MB / 458.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008981/0.3872, allocations: 5.4 MB / 463.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.3872, allocations: 1.062 kB / 463.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3872, allocations: 0 / 463.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002017/0.3874, allocations: 1.969 kB / 463.5 MB, free: 7.691 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.01191/0.3993, allocations: 3.824 MB / 467.3 MB, free: 5.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3994, allocations: 9.5 kB / 467.3 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009553/0.4003, allocations: 386.1 kB / 467.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.4025, allocations: 495.2 kB / 468.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005255/0.4077, allocations: 1.996 MB / 470.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4079, allocations: 203.1 kB / 470.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000772/0.4087, allocations: 266.8 kB / 470.7 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007693/0.4164, allocations: 3.522 MB / 474.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.367e-05/0.4165, allocations: 2.75 kB / 474.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/0.4168, allocations: 115.1 kB / 474.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.417, allocations: 123 kB / 474.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006572/0.4235, allocations: 2.969 MB / 477.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02241/0.4459, allocations: 11 MB / 488.4 MB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.449, allocations: 2.186 MB / 490.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.451, allocations: 1.102 MB / 491.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003374/0.4514, allocations: 211.4 kB / 491.9 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.4514, allocations: 51.88 kB / 491.9 MB, free: 15.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.387e-06/0.4514, allocations: 1.125 kB / 491.9 MB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01737/0.4688, allocations: 7.541 MB / 499.5 MB, free: 7.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.4688, allocations: 68.72 kB / 499.5 MB, free: 7.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.4722, allocations: 1.988 MB / 0.4898 GB, free: 5.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002578/0.4725, allocations: 53.7 kB / 0.4898 GB, free: 5.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.4736, allocations: 1.35 MB / 0.4911 GB, free: 4.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006077/0.4742, allocations: 0.5345 MB / 0.4917 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005585/0.4748, allocations: 323.5 kB / 0.492 GB, free: 3.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4749, allocations: 305.1 kB / 0.4923 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.4766, allocations: 0.8823 MB / 0.4931 GB, free: 1.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.4785, allocations: 1.372 MB / 0.4945 GB, free: 416 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.4823, allocations: 2.381 MB / 0.4968 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.4823, allocations: 11.94 kB / 0.4968 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005706/0.488, allocations: 2.991 MB / 0.4997 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.488, allocations: 12 kB / 0.4997 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.488, allocations: 12 kB / 0.4997 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.4892, allocations: 469.2 kB / 0.5002 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.4909, allocations: 431.3 kB / 0.5006 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/0.4983, allocations: 6.093 MB / 0.5065 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.5003, allocations: 119.8 kB / 0.5067 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/0.5007, allocations: 83.97 kB / 0.5067 GB, free: 3.309 MB / 414.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.002137/0.5028, allocations: 0.8524 MB / 0.5076 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008049/0.5036, allocations: 226.5 kB / 0.5078 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/0.5088, allocations: 2.58 MB / 0.5103 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-05/0.5089, allocations: 16 kB / 0.5103 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.5089, allocations: 8.859 kB / 0.5103 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.5089, allocations: 3.984 kB / 0.5103 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.5214, allocations: 5.611 MB / 0.5158 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.5214, allocations: 8 kB / 0.5158 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.5227, allocations: 279.6 kB / 0.5161 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.5241, allocations: 0.4884 MB / 0.5166 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/0.5243, allocations: 43.97 kB / 0.5166 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008943/0.5333, allocations: 7.683 MB / 0.5241 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.5333, allocations: 7.797 kB / 0.5241 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007192/0.5405, allocations: 3.84 MB / 0.5279 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/0.5421, allocations: 491.5 kB / 0.5283 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008159/0.5429, allocations: 32 kB / 0.5284 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.5446, allocations: 95.88 kB / 0.5285 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/0.545, allocations: 125 kB / 0.5286 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.5451, allocations: 43.98 kB / 0.5286 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002991/0.5481, allocations: 1.368 MB / 0.53 GB, free: 10.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5481, allocations: 0 / 0.53 GB, free: 10.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003053/0.5512, allocations: 0.5858 MB / 0.5305 GB, free: 10.2 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.007868/0.559, allocations: 4.508 MB / 0.5349 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004886/0.5639, allocations: 2.522 MB / 0.5374 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.5639, allocations: 0 / 0.5374 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002946/0.5669, allocations: 1.545 MB / 0.5389 GB, free: 1.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/0.5704, allocations: 0.4956 MB / 0.5394 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04509/0.6155, allocations: 21.8 MB / 0.5607 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/0.6183, allocations: 2.132 MB / 0.5628 GB, free: 8.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00176/0.6201, allocations: 476.9 kB / 0.5632 GB, free: 7.809 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/0.6219, allocations: 1.069 MB / 0.5643 GB, free: 6.738 MB / 478.1 MB Notification: Performance of SimCode: time 9.51e-07/0.622, allocations: 0 / 0.5643 GB, free: 6.738 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.741, allocations: 53.8 MB / 0.6168 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.05, allocations: 9.781 kB / 0.6168 GB, free: 1.309 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.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: 23.3252425622195]