Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.41 kB / 307.1 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08929, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0116/0.1009, allocations: 8.953 MB / 366.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005159/0.1061, allocations: 2.945 MB / 369.5 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009631/0.1071, allocations: 47.81 kB / 369.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.1087, allocations: 0.6094 MB / 370.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.1107, allocations: 0.7261 MB / 370.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007498/0.1115, allocations: 339.4 kB / 371.2 MB, free: 324 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1494/0.261, allocations: 2.354 MB / 373.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.263, allocations: 1.758 MB / 375.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.2644, allocations: 1.07 MB / 376.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.2659, allocations: 1.347 MB / 377.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.2663, allocations: 282.8 kB / 378 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.267, allocations: 381.2 kB / 378.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006504/0.2676, allocations: 0.7943 MB / 379.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.2688, allocations: 1.265 MB / 380.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.2728, allocations: 3.665 MB / 384.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2728, allocations: 4 kB / 384.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.2729, allocations: 0 / 384.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.273, allocations: 5.125 kB / 384.1 MB, free: 8.012 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005144/0.2781, allocations: 2.593 MB / 386.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2782, allocations: 8.938 kB / 386.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/0.2785, allocations: 264.8 kB / 387 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.2794, allocations: 287.8 kB / 387.2 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.2814, allocations: 1.362 MB / 388.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.2815, allocations: 141.6 kB / 388.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.2818, allocations: 186.4 kB / 388.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.2853, allocations: 2.405 MB / 391.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-05/0.2854, allocations: 10.08 kB / 391.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.2856, allocations: 79.91 kB / 391.4 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.2857, allocations: 84.12 kB / 391.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.2888, allocations: 2.019 MB / 393.5 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009655/0.2985, allocations: 7.46 MB / 401 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.3003, allocations: 1.274 MB / 402.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.3019, allocations: 0.9026 MB / 403.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.3021, allocations: 130 kB / 403.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3021, allocations: 39.56 kB / 403.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.305e-06/0.3022, allocations: 0 / 403.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.008938/0.3111, allocations: 4.894 MB / 408.2 MB, free: 6.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.3111, allocations: 64.41 kB / 408.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.313, allocations: 1.393 MB / 409.7 MB, free: 4.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.3131, allocations: 41.7 kB / 409.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005962/0.3137, allocations: 0.904 MB / 410.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.3139, allocations: 357 kB / 411 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.3143, allocations: 214.8 kB / 411.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3144, allocations: 349.9 kB / 411.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009789/0.3154, allocations: 0.6311 MB / 412.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3166, allocations: 0.9287 MB / 413.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.3187, allocations: 1.646 MB / 414.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3188, allocations: 7 kB / 414.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003973/0.3227, allocations: 2.387 MB / 417.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3228, allocations: 15.98 kB / 417.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3228, allocations: 8.25 kB / 417.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.3246, allocations: 0.7227 MB / 417.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/0.3254, allocations: 230.7 kB / 418.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.3357, allocations: 8.738 MB / 426.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.3369, allocations: 87.75 kB / 426.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.337, allocations: 48 kB / 427 MB, free: 3.254 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.3381, allocations: 0.634 MB / 427.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.3383, allocations: 146.2 kB / 427.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.3415, allocations: 1.894 MB / 429.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3415, allocations: 8 kB / 429.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3416, allocations: 4 kB / 429.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.3416, allocations: 3.984 kB / 429.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.3479, allocations: 4.022 MB / 433.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3479, allocations: 8.031 kB / 433.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.3487, allocations: 179.8 kB / 433.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.3499, allocations: 463.4 kB / 434.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/0.35, allocations: 27.98 kB / 434.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006189/0.3562, allocations: 6.692 MB / 441 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3562, allocations: 4.031 kB / 441 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/0.3603, allocations: 2.786 MB / 443.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.3609, allocations: 359.1 kB / 444.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.3611, allocations: 27.98 kB / 444.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/0.3619, allocations: 63.92 kB / 444.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.3621, allocations: 84.88 kB / 444.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.3622, allocations: 24 kB / 444.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001349/0.3636, allocations: 0.9703 MB / 445.3 MB, free: 276 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3636, allocations: 3.938 kB / 445.3 MB, free: 272 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001439/0.365, allocations: 436.1 kB / 445.8 MB, free: 15.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.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 (84): * Single equations (assignments): 80 * 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 {(2,12,100.0%), (1,1,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.004467/0.3695, allocations: 3.399 MB / 449.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004016/0.3735, allocations: 2.371 MB / 451.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3735, allocations: 0 / 451.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.3755, allocations: 1.336 MB / 452.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.3773, allocations: 387.6 kB / 453.2 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/0.4024, allocations: 17.76 MB / 471 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.4038, allocations: 1.7 MB / 472.7 MB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000938/0.4048, allocations: 312 kB / 473 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008752/0.4057, allocations: 0.7063 MB / 473.7 MB, free: 2.828 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4057, allocations: 0 / 473.7 MB, free: 2.828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07225/0.4779, allocations: 39.31 MB / 0.501 GB, free: 11.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.888/10.37, allocations: 7.75 kB / 0.501 GB, free: 11.89 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches