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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008722/0.0008722, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.000891/0.000891, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8738/0.8738, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 4 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.416e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.006734/0.006758, allocations: 7.968 MB / 332.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.01101, allocations: 2.781 MB / 335.3 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008313/0.01184, allocations: 55.62 kB / 335.3 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.01303, allocations: 0.6016 MB / 335.9 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.0146, allocations: 0.7994 MB / 336.7 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.01516, allocations: 351.2 kB / 337.1 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.01711, allocations: 2.458 MB / 339.5 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.01812, allocations: 0.9774 MB / 340.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.01977, allocations: 1.594 MB / 342.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.02122, allocations: 1.181 MB / 343.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.02158, allocations: 276 kB / 343.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.02219, allocations: 387.7 kB / 343.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005672/0.02276, allocations: 0.8375 MB / 344.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008076/0.02357, allocations: 0.8652 MB / 345.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002991/0.02656, allocations: 3.747 MB / 349.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.02656, allocations: 0 / 349.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02656, allocations: 4 kB / 349.4 MB, free: 6.875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.232e-05/0.02662, allocations: 0 / 349.4 MB, free: 6.875 MB / 314.7 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.00336/0.02998, allocations: 2.56 MB / 351.9 MB, free: 4.273 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.03002, allocations: 11.98 kB / 352 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002424/0.03026, allocations: 266 kB / 352.2 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/0.03083, allocations: 303.3 kB / 352.5 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.03244, allocations: 1.344 MB / 353.9 MB, free: 2.305 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.03251, allocations: 132 kB / 354 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.0327, allocations: 188.3 kB / 354.2 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.03537, allocations: 2.514 MB / 356.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/0.03542, allocations: 8 kB / 356.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.03553, allocations: 72 kB / 356.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/0.0356, allocations: 91.42 kB / 356.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.03781, allocations: 2.016 MB / 358.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007378/0.04519, allocations: 6.668 MB / 365.5 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.04633, allocations: 0.9886 MB / 366.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.04734, allocations: 0.8577 MB / 367.4 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.04749, allocations: 44.97 kB / 367.4 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.04752, allocations: 39.56 kB / 367.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.385e-06/0.04752, allocations: 0 / 367.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.006148/0.05367, allocations: 4.687 MB / 372.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.05371, allocations: 64.34 kB / 372.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.05526, allocations: 1.4 MB / 373.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.05533, allocations: 45.7 kB / 373.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.05582, allocations: 0.9266 MB / 374.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.05603, allocations: 360.9 kB / 374.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.05626, allocations: 214.9 kB / 375.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.05637, allocations: 353.9 kB / 375.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.05701, allocations: 0.6349 MB / 376.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/0.05778, allocations: 0.922 MB / 377.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.05926, allocations: 1.645 MB / 378.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.05926, allocations: 4 kB / 378.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002751/0.06201, allocations: 2.383 MB / 381.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.06204, allocations: 8 kB / 381.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.06205, allocations: 12 kB / 381.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.06321, allocations: 0.7173 MB / 381.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.06371, allocations: 231.7 kB / 382 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.07107, allocations: 8.433 MB / 390.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/0.07196, allocations: 84.08 kB / 390.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.07203, allocations: 51.92 kB / 390.6 MB, free: 12.66 MB / 362.7 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.000914/0.07294, allocations: 0.6302 MB / 391.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.07315, allocations: 155 kB / 391.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.07522, allocations: 1.89 MB / 393.3 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.07523, allocations: 8 kB / 393.3 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.07523, allocations: 4 kB / 393.3 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.07524, allocations: 7.969 kB / 393.3 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.07941, allocations: 3.766 MB / 397.1 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.07941, allocations: 4 kB / 397.1 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.07985, allocations: 179.7 kB / 397.3 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007202/0.08057, allocations: 463.1 kB / 397.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.08063, allocations: 31.97 kB / 397.7 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/0.0847, allocations: 6.331 MB / 404.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.0847, allocations: 0 / 404.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.08757, allocations: 2.772 MB / 406.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/0.08811, allocations: 290.9 kB / 407.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.08822, allocations: 31.92 kB / 407.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.08864, allocations: 63.92 kB / 407.2 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.0888, allocations: 88.78 kB / 407.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.08885, allocations: 27.98 kB / 407.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009955/0.08984, allocations: 0.9664 MB / 408.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08984, allocations: 0 / 408.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001101/0.09094, allocations: 431.9 kB / 408.7 MB, free: 10.03 MB / 378.7 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.003187/0.09413, allocations: 3.397 MB / 412.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.0965, allocations: 1.949 MB / 414.1 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.0965, allocations: 4 kB / 414.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.09779, allocations: 1.214 MB / 415.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.09898, allocations: 389.6 kB / 415.7 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.1203, allocations: 16.34 MB / 432 MB, free: 2.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/0.1212, allocations: 1.118 MB / 433.1 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006585/0.1219, allocations: 320 kB / 433.4 MB, free: 0.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.1225, allocations: 0.7073 MB / 434.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1225, allocations: 0 / 434.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2014/0.3239, allocations: 43.07 MB / 477.2 MB, free: 96.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.447, allocations: 0 / 477.2 MB, free: 96.61 MB / 410.7 MB " [Timeout remaining time 651] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.is[1] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[1] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable aimc.is[2] in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable aimc.is[2] from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.phi in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,aimc.is[1],aimc.is[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc.idq_sr[1],aimc.idq_sr[2],loadInertia.phi,loadInertia.w Variables in the result:time,aimc.i_0_s,aimc.idq_rr[1],aimc.idq_rr[2],aimc.idq_sr[1],aimc.idq_sr[2] [Calling sys.exit(0), Time elapsed: 10.725235108286142]