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.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.004808/0.004808, allocations: 110.8 kB / 21.97 MB, free: 5.25 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.001313/0.001313, allocations: 205.1 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] 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.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.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 51.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2189, allocations: 49.16 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.007915/0.2268, allocations: 9.035 MB / 406.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004457/0.2313, allocations: 3.236 MB / 409.4 MB, free: 232 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.2319, allocations: 51.28 kB / 409.5 MB, free: 208 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.2334, allocations: 0.7248 MB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.2351, allocations: 0.7527 MB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.2358, allocations: 341.1 kB / 411.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.2382, allocations: 2.104 MB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.2393, allocations: 0.8109 MB / 414.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.2407, allocations: 0.9317 MB / 415.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.2424, allocations: 1.16 MB / 416.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.2427, allocations: 235.5 kB / 416.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000598/0.2433, allocations: 322.3 kB / 416.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006984/0.244, allocations: 0.6888 MB / 417.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.2452, allocations: 1.082 MB / 418.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003493/0.2486, allocations: 3.12 MB / 421.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2487, allocations: 9.125 kB / 421.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2487, allocations: 0 / 421.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.266e-05/0.2487, allocations: 0 / 421.7 MB, free: 8.684 MB / 334.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.005075/0.2538, allocations: 2.241 MB / 424 MB, free: 7.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2539, allocations: 14.14 kB / 424 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.682e-05/0.2539, allocations: 44.38 kB / 424 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002961/0.2542, allocations: 234.7 kB / 424.3 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006498/0.2548, allocations: 239.9 kB / 424.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.257, allocations: 1.098 MB / 425.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.2571, allocations: 119.8 kB / 425.7 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.2573, allocations: 152.9 kB / 425.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.2605, allocations: 2.002 MB / 427.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.2605, allocations: 11.95 kB / 427.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.2607, allocations: 63.98 kB / 427.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.469e-05/0.2608, allocations: 74.92 kB / 428 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.2635, allocations: 1.651 MB / 429.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009741/0.2732, allocations: 6.774 MB / 436.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.274, allocations: 424.6 kB / 436.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.2743, allocations: 254 kB / 437.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.2745, allocations: 40.41 kB / 437.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2745, allocations: 39.45 kB / 437.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.265e-06/0.2745, allocations: 7.938 kB / 437.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007007/0.2816, allocations: 3.153 MB / 440.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002476/0.284, allocations: 2.223 MB / 442.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.2862, allocations: 1.623 MB / 444.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.2863, allocations: 41.7 kB / 444.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008106/0.2871, allocations: 1.053 MB / 445.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.2873, allocations: 254 kB / 445.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.2878, allocations: 319.3 kB / 445.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2879, allocations: 305.1 kB / 446.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007948/0.2887, allocations: 0.5192 MB / 446.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.2903, allocations: 1.461 MB / 448.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.2928, allocations: 2.134 MB / 450.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/0.2928, allocations: 12 kB / 450.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003435/0.2963, allocations: 2.17 MB / 452.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.2963, allocations: 16 kB / 452.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.2963, allocations: 36 kB / 452.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/0.2969, allocations: 222.8 kB / 452.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.298, allocations: 399.3 kB / 453.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.2997, allocations: 1.752 MB / 454.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.3011, allocations: 143.7 kB / 455 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.3012, allocations: 92.08 kB / 455.1 MB, free: 7.477 MB / 366.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.0008922/0.3021, allocations: 0.5944 MB / 455.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.3024, allocations: 163 kB / 455.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.3043, allocations: 1.112 MB / 456.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3043, allocations: 8 kB / 456.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3043, allocations: 0 / 456.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3044, allocations: 7.984 kB / 456.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.3098, allocations: 3.29 MB / 460.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.3098, allocations: 8 kB / 460.2 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.3103, allocations: 107.8 kB / 460.3 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006108/0.3109, allocations: 227 kB / 460.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.3109, allocations: 19.94 kB / 460.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/0.315, allocations: 3.85 MB / 464.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002134/0.3171, allocations: 2.062 MB / 466.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.3197, allocations: 1.754 MB / 468.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/0.3204, allocations: 246.8 kB / 468.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.3205, allocations: 16 kB / 468.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.3212, allocations: 56 kB / 468.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3213, allocations: 63.78 kB / 468.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.3214, allocations: 27.92 kB / 468.7 MB, free: 9.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.3229, allocations: 1.066 MB / 469.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3229, allocations: 4 kB / 469.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001528/0.3245, allocations: 383.9 kB / 470.1 MB, free: 7.789 MB / 382.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.003034/0.3275, allocations: 2.361 MB / 472.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.3299, allocations: 1.42 MB / 473.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3299, allocations: 0 / 473.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.3311, allocations: 0.7451 MB / 474.6 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.3329, allocations: 425.6 kB / 475 MB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/0.3537, allocations: 15.3 MB / 490.3 MB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.3549, allocations: 1.469 MB / 491.8 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009563/0.3559, allocations: 354 kB / 492.2 MB, free: 304 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008603/0.3567, allocations: 0.6204 MB / 492.8 MB, free: 15.67 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3567, allocations: 0 / 492.8 MB, free: 15.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07751/0.4342, allocations: 37.89 MB / 0.5182 GB, free: 9.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.42, allocations: 11.88 kB / 0.5182 GB, free: 9.656 MB / 446.1 MB " [Timeout remaining time 644] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.720018178981263]