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.001601/0.001601, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001948/0.001948, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002036/0.002036, allocations: 67.89 kB / 377.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.253, allocations: 53.4 MB / 431.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01438/0.2674, allocations: 7.941 MB / 439.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.2735, allocations: 2.781 MB / 441.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.2746, allocations: 55.62 kB / 441.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.2764, allocations: 0.5939 MB / 442.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.2788, allocations: 0.7768 MB / 443.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.2797, allocations: 339.5 kB / 443.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.2829, allocations: 2.373 MB / 446 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.2846, allocations: 0.9853 MB / 447 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.2865, allocations: 1.102 MB / 448.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.2889, allocations: 1.304 MB / 449.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005489/0.2895, allocations: 280 kB / 449.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009484/0.2904, allocations: 383.8 kB / 450 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009559/0.2914, allocations: 0.8102 MB / 450.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.293, allocations: 1.019 MB / 451.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004701/0.2977, allocations: 3.737 MB / 455.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2977, allocations: 4 kB / 455.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2977, allocations: 3.938 kB / 455.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.2978, allocations: 0 / 455.6 MB, free: 13.86 MB / 366.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.006382/0.3042, allocations: 2.579 MB / 458.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.3043, allocations: 11.98 kB / 458.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004625/0.3047, allocations: 266 kB / 458.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.3058, allocations: 303.3 kB / 458.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.3091, allocations: 1.337 MB / 460.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.3092, allocations: 139.7 kB / 460.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004074/0.3096, allocations: 187.9 kB / 460.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004758/0.3144, allocations: 2.514 MB / 462.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.967e-05/0.3144, allocations: 7.938 kB / 462.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.3146, allocations: 79.98 kB / 463 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3147, allocations: 83.5 kB / 463.1 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/0.3186, allocations: 2.016 MB / 465.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.3318, allocations: 6.672 MB / 471.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.3337, allocations: 0.9799 MB / 472.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.3355, allocations: 0.8658 MB / 473.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.3357, allocations: 36.97 kB / 473.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.3357, allocations: 47.56 kB / 473.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.747e-06/0.3357, allocations: 0 / 473.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01031/0.346, allocations: 4.695 MB / 478.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.3461, allocations: 64.41 kB / 478.5 MB, free: 6.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.3488, allocations: 1.412 MB / 479.9 MB, free: 5.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.349, allocations: 41.7 kB / 479.9 MB, free: 5.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008395/0.3498, allocations: 0.9227 MB / 480.9 MB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/0.3503, allocations: 364.9 kB / 481.2 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004418/0.3507, allocations: 218.9 kB / 481.4 MB, free: 3.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3509, allocations: 349.9 kB / 481.8 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.352, allocations: 0.6311 MB / 482.4 MB, free: 2.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.3534, allocations: 0.9259 MB / 483.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/0.3561, allocations: 1.649 MB / 485 MB, free: 15.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.3561, allocations: 7.938 kB / 485 MB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004977/0.3611, allocations: 2.376 MB / 487.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.3611, allocations: 11.94 kB / 487.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.3612, allocations: 12 kB / 487.4 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.3632, allocations: 0.7088 MB / 488.1 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3642, allocations: 239.6 kB / 488.3 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.3771, allocations: 8.441 MB / 496.8 MB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.3786, allocations: 95.95 kB / 496.9 MB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.3788, allocations: 44 kB / 496.9 MB, free: 3.609 MB / 398.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.001367/0.3801, allocations: 0.6301 MB / 497.5 MB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/0.3807, allocations: 151.1 kB / 497.7 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.3848, allocations: 1.897 MB / 499.6 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3848, allocations: 8 kB / 499.6 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.3848, allocations: 4 kB / 499.6 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3848, allocations: 3.984 kB / 499.6 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00859/0.3934, allocations: 3.747 MB / 0.4915 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.3935, allocations: 4 kB / 0.4915 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/0.3943, allocations: 175.8 kB / 0.4917 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.3956, allocations: 466.8 kB / 0.4922 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.3957, allocations: 35.91 kB / 0.4922 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/0.4033, allocations: 6.331 MB / 0.4984 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.4033, allocations: 11.86 kB / 0.4984 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.4085, allocations: 2.78 MB / 0.5011 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.4096, allocations: 286.9 kB / 0.5014 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/0.41, allocations: 24 kB / 0.5014 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009784/0.411, allocations: 67.92 kB / 0.5015 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.4112, allocations: 84.83 kB / 0.5015 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.4113, allocations: 31.92 kB / 0.5016 GB, free: 2.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001863/0.4132, allocations: 0.9625 MB / 0.5025 GB, free: 1.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4132, allocations: 0 / 0.5025 GB, free: 1.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001715/0.4149, allocations: 435.9 kB / 0.5029 GB, free: 0.9688 MB / 414.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.005492/0.4204, allocations: 3.412 MB / 0.5063 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003788/0.4242, allocations: 1.931 MB / 0.5081 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4242, allocations: 4.125 kB / 0.5081 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.4265, allocations: 1.229 MB / 0.5093 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.4287, allocations: 382.4 kB / 0.5097 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/0.4596, allocations: 16.4 MB / 0.5257 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.4612, allocations: 1.122 MB / 0.5268 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.4622, allocations: 320 kB / 0.5271 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.4633, allocations: 0.7062 MB / 0.5278 GB, free: 6.844 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4633, allocations: 0 / 0.5278 GB, free: 6.844 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2803/0.7435, allocations: 43.04 MB / 0.5698 GB, free: 78.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.35, allocations: 11.98 kB / 0.5699 GB, free: 78.11 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.68736364785582]