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.001707/0.001707, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002094/0.002094, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.62/1.62, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.002027/0.002027, allocations: 67.88 kB / 377.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2681, allocations: 53.4 MB / 431.2 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.0166/0.2847, allocations: 10.43 MB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008451/0.2931, allocations: 3.768 MB / 445.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.296, allocations: 87.38 kB / 445.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.2988, allocations: 0.8466 MB / 446.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.3023, allocations: 1.033 MB / 447.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3037, allocations: 0.5305 MB / 447.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004599/0.3083, allocations: 3.475 MB / 451.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.3109, allocations: 1.487 MB / 452.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002554/0.3135, allocations: 1.585 MB / 454.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/0.3168, allocations: 1.876 MB / 456.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009608/0.3178, allocations: 408 kB / 456.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.3194, allocations: 0.6245 MB / 457.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.3207, allocations: 1.165 MB / 458.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.3229, allocations: 1.494 MB / 460 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006611/0.3295, allocations: 5.426 MB / 465.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3295, allocations: 0 / 465.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3295, allocations: 0 / 465.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.3296, allocations: 0 / 465.4 MB, free: 4.188 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.008511/0.3381, allocations: 3.749 MB / 469.1 MB, free: 396 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3382, allocations: 11.98 kB / 469.1 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006128/0.3388, allocations: 384.1 kB / 469.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.3405, allocations: 486.5 kB / 470 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00476/0.3453, allocations: 1.918 MB / 471.9 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.3455, allocations: 201.4 kB / 472.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006523/0.3462, allocations: 271.9 kB / 472.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007361/0.3535, allocations: 3.643 MB / 476 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.591e-05/0.3536, allocations: 3.984 kB / 476 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.3539, allocations: 112 kB / 476.1 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.354, allocations: 125.2 kB / 476.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005669/0.3597, allocations: 2.972 MB / 479.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.3787, allocations: 9.96 MB / 489.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.3814, allocations: 1.495 MB / 490.7 MB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/0.3835, allocations: 1.083 MB / 491.8 MB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.3838, allocations: 57.27 kB / 491.8 MB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.3838, allocations: 51.81 kB / 491.9 MB, free: 9.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=130): time 3.907e-06/0.3838, allocations: 0 / 491.9 MB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=147): time 0.0166/0.4004, allocations: 7.034 MB / 498.9 MB, free: 2.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.4005, allocations: 72.66 kB / 499 MB, free: 1.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.4038, allocations: 2.019 MB / 0.4892 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000323/0.4042, allocations: 49.7 kB / 0.4893 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.4054, allocations: 1.35 MB / 0.4906 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00065/0.4061, allocations: 0.5229 MB / 0.4911 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005665/0.4066, allocations: 327.4 kB / 0.4914 GB, free: 13.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4068, allocations: 301.1 kB / 0.4917 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.4084, allocations: 0.8901 MB / 0.4926 GB, free: 12.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.4104, allocations: 1.368 MB / 0.4939 GB, free: 10.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003797/0.4142, allocations: 2.381 MB / 0.4962 GB, free: 8.305 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.4142, allocations: 4 kB / 0.4963 GB, free: 8.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005765/0.4199, allocations: 2.904 MB / 0.4991 GB, free: 5.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.42, allocations: 15.98 kB / 0.4991 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/0.42, allocations: 19.94 kB / 0.4991 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4212, allocations: 465.3 kB / 0.4996 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.423, allocations: 427.3 kB / 0.5 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/0.4307, allocations: 5.841 MB / 0.5057 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.4326, allocations: 119.8 kB / 0.5058 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.4327, allocations: 72 kB / 0.5059 GB, free: 14.22 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 (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.001629/0.4344, allocations: 0.8602 MB / 0.5067 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005195/0.4349, allocations: 222.6 kB / 0.5069 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/0.4399, allocations: 2.504 MB / 0.5094 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.061e-05/0.4399, allocations: 16 kB / 0.5094 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.4399, allocations: 4 kB / 0.5094 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.4399, allocations: 7.969 kB / 0.5094 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.4516, allocations: 5.176 MB / 0.5144 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.4516, allocations: 4.406 kB / 0.5144 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.4529, allocations: 279.6 kB / 0.5147 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.4544, allocations: 0.4941 MB / 0.5152 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.4545, allocations: 35.98 kB / 0.5152 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009097/0.4636, allocations: 7.316 MB / 0.5224 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4636, allocations: 4 kB / 0.5224 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/0.4707, allocations: 3.753 MB / 0.526 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/0.4723, allocations: 422.4 kB / 0.5264 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/0.4727, allocations: 36 kB / 0.5265 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.4739, allocations: 95.89 kB / 0.5266 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/0.4743, allocations: 125 kB / 0.5267 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.4744, allocations: 43.98 kB / 0.5267 GB, free: 8.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002356/0.4767, allocations: 1.372 MB / 0.5281 GB, free: 6.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4767, allocations: 0 / 0.5281 GB, free: 6.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002223/0.4789, allocations: 0.5897 MB / 0.5286 GB, free: 6.281 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 (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.007535/0.4865, allocations: 4.436 MB / 0.533 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2174/0.7038, allocations: 2.429 MB / 0.5354 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.7039, allocations: 1.625 kB / 0.5354 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003383/0.7072, allocations: 1.545 MB / 0.5369 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.7099, allocations: 493 kB / 0.5373 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03357/0.7435, allocations: 21.64 MB / 0.5585 GB, free: 88.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.745, allocations: 1.585 MB / 0.56 GB, free: 86.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001438/0.7464, allocations: 473 kB / 0.5605 GB, free: 86.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.7475, allocations: 1.069 MB / 0.5615 GB, free: 85.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7475, allocations: 0 / 0.5615 GB, free: 85.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/0.8484, allocations: 56.92 MB / 0.6171 GB, free: 28.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.75, allocations: 8 kB / 0.6171 GB, free: 28.55 MB / 446.1 MB " [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/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_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: 22.63985891221091]