Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",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.001386/0.001385, allocations: 109.4 kB / 17.73 MB, free: 5.316 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.001555/0.001555, allocations: 192.2 kB / 18.67 MB, free: 4.383 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.37/1.37, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001168/0.001169, allocations: 59.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.08308, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.1755/0.2587, allocations: 10.13 MB / 384.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005925/0.2646, allocations: 3.282 MB / 388.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.2664, allocations: 50.84 kB / 388.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.2683, allocations: 0.7334 MB / 388.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.2711, allocations: 0.8801 MB / 389.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2722, allocations: 413.1 kB / 390.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.2757, allocations: 2.984 MB / 393.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.2784, allocations: 2.432 MB / 395.6 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.2805, allocations: 1.348 MB / 396.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.2831, allocations: 1.698 MB / 398.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008116/0.284, allocations: 355 kB / 398.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.2853, allocations: 456.7 kB / 399.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.2865, allocations: 1.013 MB / 400.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.2894, allocations: 1.611 MB / 402 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006311/0.2957, allocations: 4.689 MB / 406.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2957, allocations: 0 / 406.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2957, allocations: 0 / 406.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001418/0.2959, allocations: 1.188 kB / 406.7 MB, free: 12.41 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008797/0.3047, allocations: 3.339 MB / 410 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3048, allocations: 9.312 kB / 410.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006621/0.3054, allocations: 335.5 kB / 410.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.3064, allocations: 349.9 kB / 410.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.3101, allocations: 1.668 MB / 412.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.3103, allocations: 184.2 kB / 412.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003941/0.3107, allocations: 233.2 kB / 412.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005727/0.3164, allocations: 3.132 MB / 415.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.099e-05/0.3165, allocations: 2.75 kB / 415.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.3167, allocations: 100.6 kB / 416 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.3169, allocations: 107.4 kB / 416.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004611/0.3215, allocations: 2.696 MB / 418.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.3369, allocations: 9.645 MB / 428.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.3395, allocations: 2.174 MB / 430.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.3413, allocations: 1.104 MB / 431.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.3416, allocations: 211.2 kB / 432 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.3417, allocations: 43.56 kB / 432 MB, free: 5.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.607e-06/0.3417, allocations: 0 / 432 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01401/0.3557, allocations: 6.761 MB / 438.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.3558, allocations: 64.72 kB / 438.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.3586, allocations: 1.747 MB / 440.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.3588, allocations: 45.7 kB / 440.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008241/0.3596, allocations: 1.183 MB / 441.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.3601, allocations: 475.9 kB / 442.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005158/0.3606, allocations: 295.4 kB / 442.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.3607, allocations: 305.1 kB / 442.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.362, allocations: 0.7964 MB / 443.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.3635, allocations: 1.202 MB / 444.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.3664, allocations: 2.095 MB / 446.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.3664, allocations: 4 kB / 446.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004538/0.3709, allocations: 2.675 MB / 449.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.371, allocations: 12 kB / 449.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.371, allocations: 12.34 kB / 449.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009807/0.372, allocations: 415.8 kB / 450.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.3734, allocations: 367.4 kB / 450.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00684/0.3803, allocations: 7.085 MB / 457.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.3821, allocations: 111.9 kB / 457.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.3824, allocations: 63.98 kB / 457.7 MB, free: 11.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001863/0.3843, allocations: 0.7861 MB / 458.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006796/0.385, allocations: 198.8 kB / 458.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.3895, allocations: 2.364 MB / 461 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.3895, allocations: 15.94 kB / 461 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.3895, allocations: 4 kB / 461 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.3896, allocations: 7.969 kB / 461 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.3996, allocations: 5.102 MB / 466.1 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.3997, allocations: 4 kB / 466.1 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.4007, allocations: 239.6 kB / 466.4 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.402, allocations: 443.5 kB / 466.8 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.4021, allocations: 39.98 kB / 466.9 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009003/0.4111, allocations: 8.643 MB / 475.5 MB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.4112, allocations: 4 kB / 475.5 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006601/0.4178, allocations: 3.534 MB / 479 MB, free: 5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.4194, allocations: 439.8 kB / 479.5 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006121/0.42, allocations: 35.98 kB / 479.5 MB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.4214, allocations: 87.91 kB / 479.6 MB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.4217, allocations: 124.8 kB / 479.7 MB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.4218, allocations: 39.98 kB / 479.7 MB, free: 4.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002274/0.4241, allocations: 1.202 MB / 480.9 MB, free: 3.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4241, allocations: 3.938 kB / 481 MB, free: 3.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002354/0.4265, allocations: 0.4999 MB / 481.5 MB, free: 2.566 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.005955/0.4325, allocations: 4.183 MB / 485.6 MB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004201/0.4367, allocations: 2.465 MB / 488.1 MB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.4367, allocations: 3.938 kB / 488.1 MB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.4393, allocations: 1.614 MB / 489.7 MB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.4427, allocations: 476.6 kB / 490.2 MB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03357/0.4763, allocations: 19.54 MB / 0.4978 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.4785, allocations: 2.001 MB / 0.4997 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001381/0.4799, allocations: 439.5 kB / 0.5002 GB, free: 2.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/0.4813, allocations: 0.9211 MB / 0.5011 GB, free: 1.953 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4813, allocations: 0 / 0.5011 GB, free: 1.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/0.5867, allocations: 47.84 MB / 0.5478 GB, free: 1.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.61/27.2, allocations: 7.891 kB / 0.5478 GB, free: 1.973 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches