Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.0009435/0.0009435, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001121/0.001121, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8841/0.8841, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.266e-06/9.308e-06, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.00634/0.006349, allocations: 7.96 MB / 332.5 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.009303, allocations: 2.789 MB / 335.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.009729, allocations: 55.69 kB / 335.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009267/0.01066, allocations: 0.6015 MB / 336 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.01172, allocations: 0.8034 MB / 336.8 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.01208, allocations: 339.3 kB / 337.1 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.01354, allocations: 2.462 MB / 339.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009398/0.01448, allocations: 0.9813 MB / 340.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.01578, allocations: 1.59 MB / 342.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.0168, allocations: 1.181 MB / 343.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.01703, allocations: 280 kB / 343.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.01744, allocations: 375.8 kB / 344 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004553/0.0179, allocations: 0.8336 MB / 344.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007716/0.01867, allocations: 0.8769 MB / 345.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.02104, allocations: 3.743 MB / 349.4 MB, free: 6.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.02104, allocations: 3.938 kB / 349.4 MB, free: 6.938 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02105, allocations: 0 / 349.4 MB, free: 6.938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.62e-05/0.02107, allocations: 0 / 349.4 MB, free: 6.938 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.002766/0.02384, allocations: 2.56 MB / 352 MB, free: 4.336 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.02388, allocations: 12.03 kB / 352 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002204/0.0241, allocations: 262 kB / 352.3 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005168/0.02461, allocations: 307.3 kB / 352.6 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.02616, allocations: 1.348 MB / 353.9 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.02623, allocations: 140 kB / 354 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.02641, allocations: 184.3 kB / 354.2 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.02877, allocations: 2.51 MB / 356.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.02881, allocations: 7.984 kB / 356.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.02892, allocations: 72 kB / 356.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.02898, allocations: 83.5 kB / 356.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.03101, allocations: 2.02 MB / 358.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/0.03722, allocations: 6.668 MB / 365.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.0383, allocations: 0.9866 MB / 366.6 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.03937, allocations: 0.8537 MB / 367.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.03949, allocations: 52.94 kB / 367.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.03952, allocations: 43.56 kB / 367.5 MB, free: 4.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.224e-06/0.03952, allocations: 0 / 367.5 MB, free: 4.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.005181/0.0447, allocations: 4.691 MB / 372.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.04473, allocations: 64.41 kB / 372.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.04591, allocations: 1.4 MB / 373.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.04597, allocations: 41.7 kB / 373.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.04654, allocations: 0.9227 MB / 374.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.04671, allocations: 364.9 kB / 375 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.04692, allocations: 210.9 kB / 375.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.04701, allocations: 357.9 kB / 375.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/0.04763, allocations: 0.6311 MB / 376.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007528/0.04838, allocations: 0.9259 MB / 377.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.04979, allocations: 1.645 MB / 378.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.0498, allocations: 4 kB / 378.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002549/0.05235, allocations: 2.383 MB / 381.1 MB, free: 6.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.05237, allocations: 8 kB / 381.1 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.05238, allocations: 8 kB / 381.2 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009955/0.05337, allocations: 0.7213 MB / 381.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.05381, allocations: 231.6 kB / 382.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00651/0.06032, allocations: 8.44 MB / 390.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.06077, allocations: 79.91 kB / 390.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.06082, allocations: 47.94 kB / 390.7 MB, free: 12.73 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.0006052/0.06143, allocations: 0.6341 MB / 391.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.06157, allocations: 155 kB / 391.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.06347, allocations: 1.89 MB / 393.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.06347, allocations: 12 kB / 393.3 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.06348, allocations: 3.984 kB / 393.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.06348, allocations: 7.984 kB / 393.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.06737, allocations: 3.762 MB / 397.1 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.06738, allocations: 0 / 397.1 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.06778, allocations: 179.8 kB / 397.3 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007021/0.06848, allocations: 455.2 kB / 397.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.06854, allocations: 39.97 kB / 397.8 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004264/0.0728, allocations: 6.337 MB / 404.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.07281, allocations: 4 kB / 404.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.07542, allocations: 2.768 MB / 406.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.07582, allocations: 290.9 kB / 407.2 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.07593, allocations: 24 kB / 407.2 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.07632, allocations: 67.92 kB / 407.3 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.07646, allocations: 84.83 kB / 407.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.0765, allocations: 31.98 kB / 407.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008971/0.0774, allocations: 0.9625 MB / 408.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0774, allocations: 3.938 kB / 408.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000843/0.07824, allocations: 435.9 kB / 408.8 MB, free: 10.08 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.003072/0.08131, allocations: 3.403 MB / 412.2 MB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.08327, allocations: 1.937 MB / 414.1 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.08327, allocations: 1.875 kB / 414.1 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.08437, allocations: 1.221 MB / 415.3 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.08534, allocations: 383.4 kB / 415.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/0.1027, allocations: 16.34 MB / 432 MB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.1036, allocations: 1.126 MB / 433.2 MB, free: 1.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005605/0.1041, allocations: 316 kB / 433.5 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/0.1047, allocations: 0.7034 MB / 434.2 MB, free: 20 kB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1047, allocations: 0 / 434.2 MB, free: 20 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1789/0.2836, allocations: 43.07 MB / 477.3 MB, free: 96.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.223, allocations: 5.438 kB / 477.3 MB, free: 96.71 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/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_4.1.0_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: 11.01746959798038]