Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001337/0.001337, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001434/0.001434, allocations: 207.5 kB / 23.73 MB, free: 4.391 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.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.89 kB / 377.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2598, allocations: 53.4 MB / 431.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01476/0.2745, allocations: 12 MB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00798/0.2825, allocations: 3.709 MB / 446.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.2842, allocations: 119.4 kB / 447 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.2965, allocations: 5.166 MB / 452.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00554/0.3021, allocations: 1.394 MB / 453.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.3058, allocations: 1.185 MB / 454.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009277/0.3151, allocations: 6.483 MB / 461.2 MB, free: 8.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01576/0.3308, allocations: 9.072 MB / 470.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005196/0.336, allocations: 3.363 MB / 473.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006048/0.3421, allocations: 3.726 MB / 477.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002119/0.3442, allocations: 0.8867 MB / 478.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.3474, allocations: 1.078 MB / 479.3 MB, free: 6.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.3496, allocations: 1.769 MB / 481.1 MB, free: 4.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004123/0.3537, allocations: 2.794 MB / 483.9 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.3685, allocations: 12.05 MB / 495.9 MB, free: 5.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3685, allocations: 4 kB / 495.9 MB, free: 5.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3685, allocations: 0 / 495.9 MB, free: 5.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002716/0.3688, allocations: 0 / 495.9 MB, free: 5.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02125/0.39, allocations: 7.837 MB / 0.492 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.3901, allocations: 11.98 kB / 0.492 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002714/0.3928, allocations: 1.054 MB / 0.493 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/0.4129, allocations: 2.881 MB / 0.4958 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009456/0.4224, allocations: 3.752 MB / 0.4995 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005072/0.4229, allocations: 489 kB / 0.5 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001862/0.4247, allocations: 0.621 MB / 0.5006 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.4457, allocations: 9.513 MB / 0.5099 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002462/0.4459, allocations: 7.953 kB / 0.5099 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/0.4473, allocations: 264 kB / 0.5101 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003539/0.4477, allocations: 313.5 kB / 0.5104 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/0.4635, allocations: 7.962 MB / 0.5182 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2338/0.6973, allocations: 25.2 MB / 0.5428 GB, free: 84.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007075/0.7044, allocations: 3.906 MB / 0.5466 GB, free: 84.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.7063, allocations: 1.446 MB / 0.548 GB, free: 84.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.7065, allocations: 69.47 kB / 0.5481 GB, free: 84.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.7065, allocations: 64.75 kB / 0.5482 GB, free: 84.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.989e-06/0.7065, allocations: 0 / 0.5482 GB, free: 84.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006635/0.7132, allocations: 4.035 MB / 0.5521 GB, free: 83.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.7132, allocations: 104.9 kB / 0.5522 GB, free: 83.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.7154, allocations: 1.975 MB / 0.5541 GB, free: 82.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.7155, allocations: 69.33 kB / 0.5542 GB, free: 82.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/0.7165, allocations: 2.643 MB / 0.5568 GB, free: 81.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.7169, allocations: 0.8522 MB / 0.5576 GB, free: 80.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007252/0.7176, allocations: 0.6685 MB / 0.5583 GB, free: 80.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.7177, allocations: 301.1 kB / 0.5585 GB, free: 79.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.7193, allocations: 1.41 MB / 0.5599 GB, free: 79.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.7213, allocations: 2.594 MB / 0.5624 GB, free: 77.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/0.7251, allocations: 4.254 MB / 0.5666 GB, free: 74.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/0.7252, allocations: 12 kB / 0.5666 GB, free: 74.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005467/0.7306, allocations: 4.538 MB / 0.571 GB, free: 69.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.7307, allocations: 27.94 kB / 0.5711 GB, free: 69.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/0.7307, allocations: 36 kB / 0.5711 GB, free: 69.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/0.7314, allocations: 309.6 kB / 0.5714 GB, free: 69.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.7337, allocations: 0.7839 MB / 0.5722 GB, free: 68.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.7376, allocations: 4.778 MB / 0.5768 GB, free: 63.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.7399, allocations: 421.1 kB / 0.5772 GB, free: 63.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/0.7401, allocations: 168 kB / 0.5774 GB, free: 62.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002725/0.7428, allocations: 2.187 MB / 0.5795 GB, free: 60.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.7432, allocations: 226.5 kB / 0.5797 GB, free: 60.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.7472, allocations: 3.17 MB / 0.5828 GB, free: 57.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.7473, allocations: 24 kB / 0.5829 GB, free: 57.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.7473, allocations: 4 kB / 0.5829 GB, free: 57.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.7473, allocations: 14.8 kB / 0.5829 GB, free: 57.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.7614, allocations: 10.75 MB / 0.5934 GB, free: 46.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.7614, allocations: 12 kB / 0.5934 GB, free: 46.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.763, allocations: 444.9 kB / 0.5938 GB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005801/0.7636, allocations: 269.8 kB / 0.5941 GB, free: 45.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.7637, allocations: 75.91 kB / 0.5941 GB, free: 45.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.7676, allocations: 4.729 MB / 0.5988 GB, free: 40.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.7676, allocations: 23.88 kB / 0.5988 GB, free: 40.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005571/0.7732, allocations: 5.018 MB / 0.6037 GB, free: 35.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.7743, allocations: 481.8 kB / 0.6041 GB, free: 34.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.7746, allocations: 67.92 kB / 0.6042 GB, free: 34.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.7758, allocations: 123.9 kB / 0.6043 GB, free: 34.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.7761, allocations: 221.2 kB / 0.6045 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.7762, allocations: 83.98 kB / 0.6046 GB, free: 34.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00138/0.7776, allocations: 1.291 MB / 0.6059 GB, free: 33.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7776, allocations: 0 / 0.6059 GB, free: 33.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003779/0.7813, allocations: 1.463 MB / 0.6073 GB, free: 31.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * 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 (226): * Single equations (assignments): 224 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005951/0.7873, allocations: 5.682 MB / 0.6129 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.7918, allocations: 3.498 MB / 0.6163 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/0.7918, allocations: 4 kB / 0.6163 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.7938, allocations: 1.593 MB / 0.6178 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.7964, allocations: 0.5206 MB / 0.6183 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03895/0.8354, allocations: 29.08 MB / 0.6467 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004476/0.8398, allocations: 3.498 MB / 0.6502 GB, free: 1.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003097/0.8429, allocations: 1.199 MB / 0.6513 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002847/0.8458, allocations: 2.015 MB / 0.6533 GB, free: 14.46 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8458, allocations: 0 / 0.6533 GB, free: 14.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/0.9729, allocations: 68.68 MB / 0.7204 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.75, allocations: 8 kB / 0.7204 GB, free: 10.14 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: 17.54848490934819]