Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001295/0.001295, allocations: 103.9 kB / 21.96 MB, free: 5.219 MB / 14.72 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.001329/0.001329, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 207.7 MB / 236.1 MB, free: 9.934 MB / 190.1 MB " [Timeout remaining time 178] 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.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.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 54.84 kB / 348 MB, free: 9.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2605, allocations: 49.16 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00569/0.2662, allocations: 5.238 MB / 402.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004063/0.2702, allocations: 2.024 MB / 404.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007569/0.271, allocations: 46.59 kB / 404.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.272, allocations: 394.8 kB / 404.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.2733, allocations: 0.5873 MB / 405.4 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.2737, allocations: 234.6 kB / 405.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.2758, allocations: 2.289 MB / 407.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.2773, allocations: 1.058 MB / 409 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.2793, allocations: 1.074 MB / 410.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.2809, allocations: 1.227 MB / 411.3 MB, free: 404 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004271/0.2813, allocations: 291.8 kB / 411.6 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.282, allocations: 371 kB / 411.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005998/0.2826, allocations: 0.7147 MB / 412.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.2839, allocations: 0.9941 MB / 413.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003991/0.2879, allocations: 3.801 MB / 417.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2879, allocations: 1.219 kB / 417.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2879, allocations: 0 / 417.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.799e-05/0.2879, allocations: 0 / 417.5 MB, free: 12.45 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004724/0.2927, allocations: 2.346 MB / 419.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.2927, allocations: 18.14 kB / 419.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.26e-05/0.2928, allocations: 51.08 kB / 419.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003684/0.2931, allocations: 271.5 kB / 420.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/0.294, allocations: 259.4 kB / 420.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.2962, allocations: 1.192 MB / 421.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.2964, allocations: 135.1 kB / 421.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.2966, allocations: 178 kB / 421.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004787/0.3014, allocations: 2.743 MB / 424.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.3015, allocations: 0 / 424.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.3017, allocations: 72 kB / 424.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.3018, allocations: 99.58 kB / 424.8 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/0.3055, allocations: 2.106 MB / 426.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.3165, allocations: 6.655 MB / 433.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.3177, allocations: 0.7 MB / 434.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/0.3184, allocations: 447.8 kB / 434.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.3186, allocations: 36.41 kB / 434.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3186, allocations: 39 kB / 434.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.645e-06/0.3186, allocations: 0 / 434.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.00406/0.3227, allocations: 2.137 MB / 436.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.3228, allocations: 81.55 kB / 437 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.3249, allocations: 1.524 MB / 438.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.3249, allocations: 37.7 kB / 438.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008011/0.3257, allocations: 0.994 MB / 439.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.3259, allocations: 210.3 kB / 439.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.3263, allocations: 238.8 kB / 440 MB, free: 7.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3264, allocations: 353.9 kB / 440.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/0.3272, allocations: 462.2 kB / 440.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.3285, allocations: 1.112 MB / 441.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.3304, allocations: 1.623 MB / 443.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.3304, allocations: 12 kB / 443.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002716/0.3332, allocations: 1.687 MB / 445.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.3332, allocations: 15.91 kB / 445.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.3332, allocations: 24 kB / 445.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007465/0.3339, allocations: 181.1 kB / 445.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.3348, allocations: 287.5 kB / 445.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.3373, allocations: 2.242 MB / 448 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.3386, allocations: 87.86 kB / 448 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3387, allocations: 68 kB / 448.1 MB, free: 14.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.34, allocations: 0.7079 MB / 448.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.3402, allocations: 143.1 kB / 449 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.3417, allocations: 0.8333 MB / 449.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3417, allocations: 8 kB / 449.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3417, allocations: 4 kB / 449.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3417, allocations: 3.984 kB / 449.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.3456, allocations: 2.323 MB / 452.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3456, allocations: 4 kB / 452.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.346, allocations: 95.88 kB / 452.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006402/0.3466, allocations: 161.1 kB / 452.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.3467, allocations: 19.98 kB / 452.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.3489, allocations: 2.176 MB / 454.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.3489, allocations: 8.031 kB / 454.6 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.351, allocations: 1.321 MB / 455.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005919/0.3516, allocations: 211.1 kB / 456.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.3518, allocations: 19.98 kB / 456.1 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000587/0.3524, allocations: 48.03 kB / 456.2 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3525, allocations: 47.86 kB / 456.2 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.3525, allocations: 23.98 kB / 456.2 MB, free: 6.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.3542, allocations: 1.036 MB / 457.3 MB, free: 5.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3542, allocations: 0 / 457.3 MB, free: 5.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001487/0.3557, allocations: 355.9 kB / 457.6 MB, free: 4.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002678/0.3583, allocations: 1.941 MB / 459.6 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.3603, allocations: 1.122 MB / 460.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3603, allocations: 4 kB / 460.7 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000822/0.3611, allocations: 0.4912 MB / 461.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.3627, allocations: 368.3 kB / 461.5 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/0.3836, allocations: 13.94 MB / 475.5 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.385, allocations: 1.119 MB / 476.6 MB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000971/0.386, allocations: 319.3 kB / 476.9 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008494/0.3868, allocations: 0.6203 MB / 477.5 MB, free: 68 kB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3868, allocations: 0 / 477.5 MB, free: 68 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0742/0.461, allocations: 36.2 MB / 0.5017 GB, free: 11.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.79, allocations: 0 / 0.5017 GB, free: 11.75 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.281896844971925]