Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.0007841/0.0007841, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008331/0.0008331, 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.9028/0.9028, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2437/0.2437, allocations: 34.23 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.903e-05, allocations: 5.094 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.1752/0.1752, allocations: 8.248 MB / 450.4 MB, free: 39.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.1783, allocations: 2.722 MB / 453.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.1787, allocations: 88.25 kB / 453.2 MB, free: 37.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.1814, allocations: 3.701 MB / 456.9 MB, free: 35.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.1827, allocations: 1.103 MB / 458 MB, free: 35.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.1834, allocations: 0.7695 MB / 458.8 MB, free: 34.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.1855, allocations: 5.047 MB / 463.8 MB, free: 31.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004712/0.1902, allocations: 7.711 MB / 471.5 MB, free: 27.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.1926, allocations: 4.203 MB / 475.7 MB, free: 25.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.1942, allocations: 2.767 MB / 478.5 MB, free: 24.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004986/0.1947, allocations: 0.7679 MB / 479.3 MB, free: 24.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000798/0.1955, allocations: 0.9272 MB / 480.2 MB, free: 24.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006368/0.1962, allocations: 1.63 MB / 481.8 MB, free: 23.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.1976, allocations: 2.013 MB / 483.8 MB, free: 22.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007333/0.2049, allocations: 10.58 MB / 494.4 MB, free: 18.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2049, allocations: 1.094 kB / 494.4 MB, free: 18.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.2049, allocations: 4 kB / 494.4 MB, free: 18.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002375/0.2051, allocations: 0 / 494.4 MB, free: 18.58 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01243/0.2176, allocations: 6.292 MB / 0.489 GB, free: 15.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.2176, allocations: 9.375 kB / 0.489 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001117/0.2187, allocations: 0.8894 MB / 0.4899 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/0.2295, allocations: 3.904 MB / 0.4937 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/0.2336, allocations: 3.267 MB / 0.4969 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.2338, allocations: 393.1 kB / 0.4972 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006321/0.2344, allocations: 0.5028 MB / 0.4977 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009852/0.2443, allocations: 8.734 MB / 0.5063 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.769e-05/0.2444, allocations: 4 kB / 0.5063 GB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/0.2447, allocations: 212 kB / 0.5065 GB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.2449, allocations: 343.2 kB / 0.5068 GB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008767/0.2537, allocations: 8.012 MB / 0.5146 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/0.2774, allocations: 23.32 MB / 0.5374 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.2834, allocations: 4.553 MB / 0.5418 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.2853, allocations: 1.483 MB / 0.5433 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.2854, allocations: 62.78 kB / 0.5433 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.2854, allocations: 56.56 kB / 0.5434 GB, free: 13.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=214): time 3.737e-06/0.2854, allocations: 0 / 0.5434 GB, free: 13.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=214): time 0.003809/0.2893, allocations: 3.527 MB / 0.5468 GB, free: 10.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2893, allocations: 103.1 kB / 0.5469 GB, free: 10.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/0.2925, allocations: 3.511 MB / 0.5504 GB, free: 6.727 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.2926, allocations: 61.7 kB / 0.5504 GB, free: 6.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009545/0.2935, allocations: 2.23 MB / 0.5526 GB, free: 4.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/0.2939, allocations: 0.7631 MB / 0.5534 GB, free: 3.641 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000656/0.2946, allocations: 0.7016 MB / 0.554 GB, free: 2.934 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.2947, allocations: 305.1 kB / 0.5543 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.2961, allocations: 1.568 MB / 0.5559 GB, free: 1.062 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.2985, allocations: 3.199 MB / 0.559 GB, free: 13.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004075/0.3026, allocations: 5.083 MB / 0.5639 GB, free: 7.227 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/0.3026, allocations: 16 kB / 0.564 GB, free: 7.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004592/0.3072, allocations: 4.953 MB / 0.5688 GB, free: 2.254 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.3073, allocations: 28 kB / 0.5688 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.728e-05/0.3073, allocations: 60.12 kB / 0.5689 GB, free: 2.168 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.384e-05/0.3073, allocations: 76 kB / 0.569 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.3093, allocations: 0.9165 MB / 0.5699 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.447e-05/0.3093, allocations: 111.6 kB / 0.57 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.311, allocations: 0.5741 MB / 0.5705 GB, free: 500 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.3111, allocations: 192 kB / 0.5707 GB, free: 308 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002366/0.3135, allocations: 2.081 MB / 0.5727 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.3138, allocations: 282.2 kB / 0.573 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/0.3172, allocations: 3.176 MB / 0.5761 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.3172, allocations: 20 kB / 0.5761 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3172, allocations: 8 kB / 0.5761 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.3172, allocations: 11.95 kB / 0.5761 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009801/0.327, allocations: 8.259 MB / 0.5842 GB, free: 2.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.327, allocations: 16 kB / 0.5842 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.3281, allocations: 0.5663 MB / 0.5848 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.3282, allocations: 32 kB / 0.5848 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.616e-05/0.3282, allocations: 79.97 kB / 0.5849 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.108e-05/0.3283, allocations: 31.88 kB / 0.5849 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/0.3283, allocations: 31.86 kB / 0.5849 GB, free: 1.402 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00452/0.3328, allocations: 5.249 MB / 0.5901 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.334, allocations: 0.6457 MB / 0.5907 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.3342, allocations: 71.98 kB / 0.5908 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.335, allocations: 127.9 kB / 0.5909 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.3352, allocations: 221.2 kB / 0.5911 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-05/0.3353, allocations: 95.98 kB / 0.5912 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002698/0.338, allocations: 2.388 MB / 0.5935 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/0.338, allocations: 3.938 kB / 0.5935 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002856/0.3409, allocations: 1.11 MB / 0.5946 GB, free: 7.148 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.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 (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004948/0.3458, allocations: 5.909 MB / 0.6004 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.3493, allocations: 3.474 MB / 0.6038 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3493, allocations: 4 kB / 0.6038 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.3509, allocations: 1.475 MB / 0.6052 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.3529, allocations: 0.5306 MB / 0.6057 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2094/0.5623, allocations: 37.7 MB / 0.6426 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/0.5641, allocations: 3.114 MB / 0.6456 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001836/0.566, allocations: 1.476 MB / 0.647 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.5672, allocations: 1.643 MB / 0.6486 GB, free: 146 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.5672, allocations: 0 / 0.6486 GB, free: 146 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07009/0.6373, allocations: 76.08 MB / 0.7229 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.187/9.824, allocations: 3.953 kB / 0.7229 GB, free: 98.76 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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: 12.608277809806168]