Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001049, allocations: 97.61 kB / 17.72 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 192 kB / 18.66 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 51.94 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0741/0.07531, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.1568/0.2322, allocations: 8.963 MB / 383.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.2375, allocations: 3.208 MB / 386.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.2388, allocations: 34.41 kB / 386.8 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.2407, allocations: 0.6695 MB / 387.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.243, allocations: 0.6971 MB / 388.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.244, allocations: 332.5 kB / 388.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.2465, allocations: 2.1 MB / 390.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.2484, allocations: 1.401 MB / 392 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.2499, allocations: 0.9164 MB / 393 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.2518, allocations: 1.125 MB / 394.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000609/0.2524, allocations: 231.2 kB / 394.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.2535, allocations: 331.3 kB / 394.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009042/0.2544, allocations: 0.6785 MB / 395.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.2563, allocations: 1.08 MB / 396.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.26, allocations: 3.111 MB / 399.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2601, allocations: 1.781 kB / 399.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2601, allocations: 0 / 399.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.851e-05/0.2602, allocations: 0 / 399.5 MB, free: 1.051 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006247/0.2664, allocations: 2.265 MB / 401.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2665, allocations: 8.938 kB / 401.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000569/0.2671, allocations: 234.4 kB / 402 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009074/0.268, allocations: 226.3 kB / 402.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.2705, allocations: 1.161 MB / 403.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.461e-05/0.2706, allocations: 113 kB / 403.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.271, allocations: 159.3 kB / 403.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/0.2748, allocations: 2.011 MB / 405.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.629e-05/0.2748, allocations: 5.5 kB / 405.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.275, allocations: 62.25 kB / 405.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.04e-05/0.2751, allocations: 78.5 kB / 405.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/0.2781, allocations: 1.648 MB / 407.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.2887, allocations: 6.901 MB / 414.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/0.2894, allocations: 450.1 kB / 414.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.2898, allocations: 259.7 kB / 415.1 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.2901, allocations: 111.4 kB / 415.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.2901, allocations: 41.28 kB / 415.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.845e-06/0.2901, allocations: 1.062 kB / 415.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.007261/0.2974, allocations: 3.282 MB / 418.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002387/0.2998, allocations: 2.341 MB / 420.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.3022, allocations: 1.619 MB / 422.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.3023, allocations: 37.7 kB / 422.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007173/0.303, allocations: 1.018 MB / 423.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.3033, allocations: 236.8 kB / 423.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004395/0.3037, allocations: 319.1 kB / 424 MB, free: 13.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.3038, allocations: 305.1 kB / 424.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007903/0.3046, allocations: 0.5232 MB / 424.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.306, allocations: 1.457 MB / 426.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/0.3083, allocations: 2.149 MB / 428.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.3083, allocations: 8 kB / 428.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003454/0.3118, allocations: 2.153 MB / 430.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.3118, allocations: 20 kB / 430.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.983e-05/0.3119, allocations: 32.88 kB / 430.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.3124, allocations: 238.4 kB / 430.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.3136, allocations: 395.2 kB / 431.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.3152, allocations: 1.843 MB / 433.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.3166, allocations: 139.4 kB / 433.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.3168, allocations: 95.98 kB / 433.4 MB, free: 3.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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.000854/0.3177, allocations: 0.5828 MB / 434 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.318, allocations: 150.1 kB / 434.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.3199, allocations: 1.117 MB / 435.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.3199, allocations: 8 kB / 435.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.32, allocations: 64 / 435.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.32, allocations: 7.984 kB / 435.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/0.3258, allocations: 3.402 MB / 438.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.3258, allocations: 4 kB / 438.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.3263, allocations: 103.9 kB / 438.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/0.3269, allocations: 226.3 kB / 439 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.327, allocations: 20 kB / 439 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00392/0.3309, allocations: 4.046 MB / 443 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002018/0.3329, allocations: 2.177 MB / 445.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.3355, allocations: 1.743 MB / 446.9 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/0.3363, allocations: 303.1 kB / 447.2 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.3366, allocations: 27.92 kB / 447.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007888/0.3374, allocations: 43.95 kB / 447.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3375, allocations: 67.8 kB / 447.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.3376, allocations: 27.94 kB / 447.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001782/0.3394, allocations: 1.074 MB / 448.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3394, allocations: 0 / 448.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001757/0.3412, allocations: 380 kB / 448.9 MB, free: 3.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002997/0.3442, allocations: 2.369 MB / 451.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.3467, allocations: 1.614 MB / 452.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3467, allocations: 0 / 452.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.348, allocations: 0.8555 MB / 453.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.3501, allocations: 407.5 kB / 454.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/0.3711, allocations: 15.23 MB / 469.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.3723, allocations: 1.469 MB / 470.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009912/0.3733, allocations: 354 kB / 471.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/0.3742, allocations: 0.6203 MB / 471.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.034e-06/0.3742, allocations: 0 / 471.8 MB, free: 10.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07808/0.4523, allocations: 36.81 MB / 0.4966 GB, free: 5.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.54, allocations: 7.922 kB / 0.4967 GB, free: 5.781 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches