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.00154/0.00154, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001693/0.001693, allocations: 214.9 kB / 24.51 MB, free: 3.945 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.001476/0.001476, allocations: 51.92 kB / 378.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2601, allocations: 53.36 MB / 431.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01372/0.2738, allocations: 10.41 MB / 442.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007917/0.2817, allocations: 3.76 MB / 446 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.2835, allocations: 83.5 kB / 446.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.2859, allocations: 0.8426 MB / 447 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003214/0.2891, allocations: 1.037 MB / 448 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.2905, allocations: 0.5343 MB / 448.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004555/0.2951, allocations: 3.475 MB / 452 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.2974, allocations: 1.538 MB / 453.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.3001, allocations: 1.585 MB / 455.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003557/0.3037, allocations: 1.993 MB / 457.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007425/0.3044, allocations: 411.9 kB / 457.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.3058, allocations: 0.6284 MB / 458.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.3071, allocations: 1.169 MB / 459.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.3092, allocations: 1.497 MB / 460.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006071/0.3153, allocations: 5.422 MB / 466.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3153, allocations: 0 / 466.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3153, allocations: 0 / 466.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.3154, allocations: 0 / 466.2 MB, free: 4.137 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.007872/0.3233, allocations: 3.745 MB / 470 MB, free: 348 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3233, allocations: 15.97 kB / 470 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.066e-05/0.3234, allocations: 69.58 kB / 470.1 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005277/0.3239, allocations: 392 kB / 470.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.3256, allocations: 490.5 kB / 470.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/0.3294, allocations: 1.914 MB / 472.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.3296, allocations: 201.4 kB / 473 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004579/0.33, allocations: 271.9 kB / 473.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006608/0.3367, allocations: 3.646 MB / 477 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-05/0.3367, allocations: 4 kB / 477 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.337, allocations: 112 kB / 477.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.3371, allocations: 125.2 kB / 477.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00554/0.3427, allocations: 2.968 MB / 480.2 MB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.3613, allocations: 9.963 MB / 490.1 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.3643, allocations: 1.503 MB / 491.6 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.3664, allocations: 1.094 MB / 492.7 MB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.3666, allocations: 53.28 kB / 492.8 MB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.3667, allocations: 51.86 kB / 492.8 MB, free: 8.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.907e-06/0.3667, allocations: 0 / 492.8 MB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01664/0.3833, allocations: 7.091 MB / 499.9 MB, free: 1.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.3834, allocations: 72.7 kB / 500 MB, free: 1.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.3866, allocations: 1.992 MB / 0.4902 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.3869, allocations: 49.7 kB / 0.4903 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.3881, allocations: 1.347 MB / 0.4916 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/0.3887, allocations: 0.5307 MB / 0.4921 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005902/0.3893, allocations: 331.4 kB / 0.4924 GB, free: 13.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3894, allocations: 301.1 kB / 0.4927 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.391, allocations: 0.8784 MB / 0.4936 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/0.393, allocations: 1.38 MB / 0.4949 GB, free: 10.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.3968, allocations: 2.381 MB / 0.4972 GB, free: 8.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.3968, allocations: 7.938 kB / 0.4972 GB, free: 8.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005708/0.4026, allocations: 2.911 MB / 0.5001 GB, free: 5.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.4026, allocations: 12 kB / 0.5001 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.4026, allocations: 12 kB / 0.5001 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.4039, allocations: 469.1 kB / 0.5006 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.4056, allocations: 431.3 kB / 0.501 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/0.4128, allocations: 5.838 MB / 0.5067 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.4146, allocations: 127.8 kB / 0.5068 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/0.4149, allocations: 75.98 kB / 0.5069 GB, free: 14.02 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.001768/0.4166, allocations: 0.8524 MB / 0.5077 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006132/0.4173, allocations: 222.5 kB / 0.5079 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.4221, allocations: 2.504 MB / 0.5103 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.61e-05/0.4221, allocations: 16 kB / 0.5104 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4221, allocations: 4 kB / 0.5104 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.4222, allocations: 15.91 kB / 0.5104 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.4323, allocations: 5.191 MB / 0.5155 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.4323, allocations: 4 kB / 0.5155 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.4335, allocations: 284 kB / 0.5157 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.4349, allocations: 0.4904 MB / 0.5162 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.4351, allocations: 47.97 kB / 0.5163 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008525/0.4436, allocations: 7.307 MB / 0.5234 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4436, allocations: 4 kB / 0.5234 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/0.4502, allocations: 3.765 MB / 0.5271 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.4515, allocations: 418.5 kB / 0.5275 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/0.452, allocations: 36 kB / 0.5275 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.4532, allocations: 103.9 kB / 0.5276 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/0.4536, allocations: 129 kB / 0.5277 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.4537, allocations: 43.98 kB / 0.5278 GB, free: 8.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002353/0.456, allocations: 1.368 MB / 0.5291 GB, free: 6.637 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.456, allocations: 0 / 0.5291 GB, free: 6.637 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00231/0.4583, allocations: 0.5897 MB / 0.5297 GB, free: 6.047 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.006948/0.4653, allocations: 4.428 MB / 0.534 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2052/0.6705, allocations: 2.435 MB / 0.5364 GB, free: 105.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.6705, allocations: 1.219 kB / 0.5364 GB, free: 105.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.6733, allocations: 1.548 MB / 0.5379 GB, free: 105.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.6758, allocations: 0.4953 MB / 0.5384 GB, free: 105.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/0.7049, allocations: 21.67 MB / 0.5595 GB, free: 90.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.7062, allocations: 1.581 MB / 0.5611 GB, free: 89.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001334/0.7076, allocations: 480.9 kB / 0.5615 GB, free: 88.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.7087, allocations: 1.066 MB / 0.5626 GB, free: 87.61 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7087, allocations: 0 / 0.5626 GB, free: 87.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08635/0.795, allocations: 57.06 MB / 0.6183 GB, free: 31.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/16.65, allocations: 6.656 kB / 0.6183 GB, free: 31.18 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.526060939999297]