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.0008102/0.0008102, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007979/0.0007979, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8739/0.8739, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.513e-06/1.513e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.587e-05, allocations: 2.281 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.008614/0.00863, allocations: 10.43 MB / 335 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006274/0.0149, allocations: 3.784 MB / 338.8 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.01619, allocations: 79.5 kB / 338.8 MB, free: 1.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.0177, allocations: 0.8427 MB / 339.7 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.01976, allocations: 1.071 MB / 340.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.02061, allocations: 0.5381 MB / 341.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002791/0.0234, allocations: 3.595 MB / 344.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.02483, allocations: 1.502 MB / 346.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.02674, allocations: 2.3 MB / 348.7 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.02824, allocations: 1.687 MB / 350.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.02862, allocations: 408 kB / 350.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007366/0.02936, allocations: 0.6283 MB / 351.4 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006459/0.03, allocations: 1.188 MB / 352.6 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008908/0.03089, allocations: 1.274 MB / 353.9 MB, free: 2.379 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003354/0.03425, allocations: 5.453 MB / 359.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.03425, allocations: 0 / 359.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.03425, allocations: 0 / 359.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.671e-05/0.0343, allocations: 8 kB / 359.3 MB, free: 12.9 MB / 330.7 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.004074/0.03837, allocations: 3.702 MB / 363 MB, free: 9.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.03841, allocations: 11.98 kB / 363 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003248/0.03874, allocations: 392.1 kB / 363.4 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.0396, allocations: 486.5 kB / 363.9 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.04167, allocations: 1.91 MB / 365.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.98e-05/0.04177, allocations: 209.8 kB / 366 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.04202, allocations: 275.9 kB / 366.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.04553, allocations: 3.65 MB / 369.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.473e-05/0.04557, allocations: 4 kB / 369.9 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.04574, allocations: 115.9 kB / 370 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.99e-05/0.04583, allocations: 117.3 kB / 370.2 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.04903, allocations: 2.96 MB / 373.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00979/0.05882, allocations: 9.966 MB / 383.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.06043, allocations: 1.5 MB / 384.6 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.06159, allocations: 1.099 MB / 385.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.06176, allocations: 53.28 kB / 385.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.06178, allocations: 43.88 kB / 385.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=130): time 2.495e-06/0.06178, allocations: 0 / 385.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=147): time 0.009079/0.07086, allocations: 7.028 MB / 392.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.0709, allocations: 68.72 kB / 392.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.07286, allocations: 2.019 MB / 394.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.757e-05/0.07293, allocations: 45.7 kB / 394.9 MB, free: 8.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/0.07357, allocations: 1.354 MB / 396.3 MB, free: 7.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.07386, allocations: 0.5229 MB / 396.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.07421, allocations: 323.4 kB / 397.1 MB, free: 6.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.07428, allocations: 301.1 kB / 397.4 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009351/0.07522, allocations: 0.8862 MB / 398.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.07633, allocations: 1.368 MB / 399.7 MB, free: 3.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.07841, allocations: 2.381 MB / 402.1 MB, free: 1.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.07842, allocations: 4 kB / 402.1 MB, free: 1.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003007/0.08142, allocations: 2.904 MB / 405 MB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.08144, allocations: 16 kB / 405 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.08146, allocations: 16 kB / 405 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006567/0.08212, allocations: 466.1 kB / 405.4 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.08293, allocations: 427.3 kB / 405.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.08703, allocations: 5.829 MB / 411.7 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.08772, allocations: 119.9 kB / 411.8 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/0.08782, allocations: 79.98 kB / 411.9 MB, free: 6.973 MB / 378.7 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 (198): * Single equations (assignments): 193 * 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.0008878/0.0887, allocations: 0.8602 MB / 412.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.08893, allocations: 222.6 kB / 413 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.09158, allocations: 2.497 MB / 415.5 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.0916, allocations: 19.94 kB / 415.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.09161, allocations: 7.938 kB / 415.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.09162, allocations: 7.969 kB / 415.5 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005661/0.09728, allocations: 5.191 MB / 420.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.09729, allocations: 0 / 420.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/0.09797, allocations: 275.6 kB / 421 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007086/0.09868, allocations: 0.4937 MB / 421.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.09875, allocations: 39.97 kB / 421.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004596/0.1033, allocations: 7.295 MB / 428.8 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.1033, allocations: 7.938 kB / 428.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.1069, allocations: 3.746 MB / 432.5 MB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.1074, allocations: 418.3 kB / 432.9 MB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.1076, allocations: 35.98 kB / 433 MB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.1081, allocations: 99.91 kB / 433.1 MB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.1083, allocations: 133 kB / 433.2 MB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.1084, allocations: 48.08 kB / 433.3 MB, free: 1.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001222/0.1096, allocations: 1.368 MB / 434.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1096, allocations: 0 / 434.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001208/0.1108, allocations: 0.582 MB / 435.2 MB, free: 15.05 MB / 410.7 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 (124): * Single equations (assignments): 119 * 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.003988/0.1148, allocations: 4.425 MB / 439.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.1173, allocations: 2.44 MB / 442.1 MB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1173, allocations: 128 / 442.1 MB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.1188, allocations: 1.533 MB / 443.6 MB, free: 6.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.12, allocations: 0.5052 MB / 444.1 MB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1434/0.2634, allocations: 21.59 MB / 465.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008533/0.2643, allocations: 1.584 MB / 467.3 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007181/0.265, allocations: 472.9 kB / 467.7 MB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007055/0.2657, allocations: 1.07 MB / 468.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2657, allocations: 0 / 468.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0543/0.32, allocations: 56.89 MB / 0.5134 GB, free: 47.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.045/9.365, allocations: 4.062 kB / 0.5134 GB, free: 47.28 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 14.593826523050666]