Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.00164/0.00164, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002107/0.002107, allocations: 214.5 kB / 23.74 MB, free: 4.672 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 72.08 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.267, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.0112/0.2782, allocations: 9.195 MB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.2842, allocations: 3.202 MB / 443.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.2855, allocations: 59.62 kB / 443.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.2874, allocations: 0.7219 MB / 444.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.2896, allocations: 0.7768 MB / 445.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.2903, allocations: 311.5 kB / 445.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.2931, allocations: 2.14 MB / 447.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.2944, allocations: 0.8442 MB / 448.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.2959, allocations: 0.9499 MB / 449.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.2978, allocations: 1.175 MB / 450.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004117/0.2982, allocations: 228 kB / 450.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000773/0.2989, allocations: 339.8 kB / 451.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000761/0.2997, allocations: 0.6894 MB / 451.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.3011, allocations: 1.1 MB / 452.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003831/0.3049, allocations: 3.145 MB / 456 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.305, allocations: 0 / 456 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.305, allocations: 3.938 kB / 456.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.514e-05/0.305, allocations: 0 / 456.1 MB, free: 13.68 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: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004837/0.3099, allocations: 2.289 MB / 458.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3099, allocations: 8.031 kB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000302/0.3102, allocations: 228.4 kB / 458.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007161/0.3109, allocations: 247.5 kB / 458.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.3133, allocations: 1.172 MB / 460 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.3134, allocations: 119.2 kB / 460.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.3136, allocations: 152 kB / 460.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/0.317, allocations: 2.029 MB / 462.3 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.217e-05/0.317, allocations: 3.953 kB / 462.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.3172, allocations: 67.94 kB / 462.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.221e-05/0.3173, allocations: 82.92 kB / 462.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.3202, allocations: 1.686 MB / 464.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.3307, allocations: 6.914 MB / 471 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/0.3316, allocations: 449.1 kB / 471.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.3321, allocations: 270 kB / 471.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.3323, allocations: 36.41 kB / 471.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.3323, allocations: 39 kB / 471.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.034e-06/0.3323, allocations: 0 / 471.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006723/0.339, allocations: 2.915 MB / 474.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3391, allocations: 64 kB / 474.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.3414, allocations: 1.628 MB / 476.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.3414, allocations: 33.7 kB / 476.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008785/0.3423, allocations: 1.068 MB / 477.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.3425, allocations: 250 kB / 477.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/0.3429, allocations: 327.3 kB / 478.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3431, allocations: 305.1 kB / 478.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009412/0.344, allocations: 0.5231 MB / 478.9 MB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.3457, allocations: 1.45 MB / 480.3 MB, free: 4.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.3485, allocations: 2.136 MB / 482.5 MB, free: 1.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.3485, allocations: 8 kB / 482.5 MB, free: 1.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003818/0.3523, allocations: 2.175 MB / 484.7 MB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.3524, allocations: 20 kB / 484.7 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.3524, allocations: 32 kB / 484.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/0.353, allocations: 222.4 kB / 484.9 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3542, allocations: 407.2 kB / 485.3 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.356, allocations: 1.744 MB / 487.1 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.3574, allocations: 139.7 kB / 487.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.3576, allocations: 96 kB / 487.3 MB, free: 12.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009993/0.3586, allocations: 0.5912 MB / 487.9 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.3588, allocations: 163 kB / 488.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.3609, allocations: 1.093 MB / 489.2 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3609, allocations: 8 kB / 489.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3609, allocations: 0 / 489.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3609, allocations: 3.984 kB / 489.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004976/0.3659, allocations: 2.719 MB / 491.9 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3659, allocations: 4 kB / 491.9 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.3665, allocations: 123.8 kB / 492 MB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.3669, allocations: 170.6 kB / 492.2 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.3669, allocations: 12 kB / 492.2 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.3686, allocations: 1.678 MB / 493.9 MB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3686, allocations: 7.969 kB / 493.9 MB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.3714, allocations: 1.647 MB / 495.5 MB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006629/0.372, allocations: 230.9 kB / 495.7 MB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.3722, allocations: 12 kB / 495.8 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.3728, allocations: 51.94 kB / 495.8 MB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.373, allocations: 52.41 kB / 495.9 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.373, allocations: 20 kB / 495.9 MB, free: 3.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.3747, allocations: 1.079 MB / 497 MB, free: 2.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3747, allocations: 0 / 497 MB, free: 2.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001418/0.3761, allocations: 363.9 kB / 497.3 MB, free: 2.484 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(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.003145/0.3792, allocations: 2.268 MB / 499.6 MB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002876/0.3821, allocations: 1.413 MB / 0.4892 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3821, allocations: 0 / 0.4892 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.3832, allocations: 0.5775 MB / 0.4898 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.3855, allocations: 413.4 kB / 0.4902 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.4102, allocations: 14.99 MB / 0.5048 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.4118, allocations: 1.469 MB / 0.5063 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.4128, allocations: 357.9 kB / 0.5066 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009388/0.4138, allocations: 0.636 MB / 0.5072 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4138, allocations: 0 / 0.5072 GB, free: 11.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2883/0.702, allocations: 37.02 MB / 0.5434 GB, free: 103.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.18, allocations: 6.953 kB / 0.5434 GB, free: 103.5 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.32 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.95359006104991]