Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007946/0.0007947, allocations: 91.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009079/0.0009079, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.178/1.178, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000184/0.000184, allocations: 8 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07394/0.07414, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008037/0.08221, allocations: 8.981 MB / 368.3 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004174/0.0864, allocations: 2.702 MB / 371 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009274/0.08735, allocations: 75.75 kB / 371.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.08849, allocations: 0.5794 MB / 371.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.09042, allocations: 0.668 MB / 372.4 MB, free: 144 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1276/0.2181, allocations: 0.8893 MB / 373.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003606/0.2217, allocations: 3.846 MB / 377.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01335/0.2351, allocations: 11.12 MB / 388.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.2371, allocations: 1.64 MB / 389.9 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.2398, allocations: 1.934 MB / 391.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006952/0.2405, allocations: 273.4 kB / 392.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.242, allocations: 0.499 MB / 392.6 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005289/0.2425, allocations: 0.7407 MB / 393.3 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.244, allocations: 2.016 MB / 395.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004934/0.2489, allocations: 8.368 MB / 403.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.249, allocations: 0 / 403.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.249, allocations: 0 / 403.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.718e-05/0.249, allocations: 0 / 403.7 MB, free: 12.38 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.008233/0.2573, allocations: 4.357 MB / 408 MB, free: 7.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2573, allocations: 12.03 kB / 408 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007422/0.2581, allocations: 0.6527 MB / 408.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006949/0.265, allocations: 1.328 MB / 410 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.268, allocations: 2.511 MB / 412.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.2682, allocations: 345.4 kB / 412.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000594/0.2688, allocations: 455 kB / 413.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008396/0.2772, allocations: 6.115 MB / 419.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-05/0.2773, allocations: 4 kB / 419.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.2777, allocations: 184 kB / 419.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.2779, allocations: 197.5 kB / 419.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007111/0.285, allocations: 5.296 MB / 425.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/0.3068, allocations: 21.31 MB / 446.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005536/0.3124, allocations: 5.601 MB / 452 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008992/0.3133, allocations: 0.7097 MB / 452.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.3134, allocations: 193.4 kB / 452.9 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3135, allocations: 47.44 kB / 453 MB, free: 9.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 2.836e-06/0.3135, allocations: 0 / 453 MB, free: 9.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.001958/0.3154, allocations: 1.549 MB / 454.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.3155, allocations: 60.41 kB / 454.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.317, allocations: 1.457 MB / 456 MB, free: 6.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.3171, allocations: 41.7 kB / 456.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.3181, allocations: 1.964 MB / 458 MB, free: 4.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.3183, allocations: 368.7 kB / 458.4 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.3186, allocations: 182.2 kB / 458.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3187, allocations: 353.9 kB / 458.9 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.3197, allocations: 0.8437 MB / 459.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.3214, allocations: 1.986 MB / 461.7 MB, free: 164 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.3242, allocations: 3 MB / 464.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.3243, allocations: 12 kB / 464.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003489/0.3278, allocations: 2.859 MB / 467.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.3278, allocations: 31.92 kB / 467.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.3278, allocations: 36 kB / 467.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.791e-05/0.3279, allocations: 56 kB / 467.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.3293, allocations: 0.5303 MB / 468.3 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-05/0.3294, allocations: 80.22 kB / 468.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.3304, allocations: 309 kB / 468.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.3306, allocations: 124 kB / 468.8 MB, free: 8.586 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001797/0.3324, allocations: 1.664 MB / 470.4 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.3325, allocations: 134.3 kB / 470.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.3344, allocations: 1.428 MB / 472 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001217/0.3357, allocations: 1.014 MB / 473 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3357, allocations: 0 / 473 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.3357, allocations: 7.922 kB / 473 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.3487, allocations: 13.53 MB / 486.5 MB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.3487, allocations: 20 kB / 486.6 MB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.3494, allocations: 207.6 kB / 486.8 MB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/0.3494, allocations: 24 kB / 486.8 MB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.3495, allocations: 52.67 kB / 486.8 MB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/0.3495, allocations: 35.86 kB / 486.9 MB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.702e-05/0.3495, allocations: 35.81 kB / 486.9 MB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.3521, allocations: 2.582 MB / 489.5 MB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.3525, allocations: 331.1 kB / 489.8 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3526, allocations: 51.98 kB / 489.9 MB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.3532, allocations: 64.02 kB / 489.9 MB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.3534, allocations: 135.3 kB / 490.1 MB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.3534, allocations: 56 kB / 490.1 MB, free: 2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.3545, allocations: 0.9877 MB / 491.1 MB, free: 1.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3546, allocations: 0 / 491.1 MB, free: 1.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001975/0.3565, allocations: 0.936 MB / 492 MB, free: 68 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002984/0.3595, allocations: 3.218 MB / 495.3 MB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.3617, allocations: 1.916 MB / 497.2 MB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.3617, allocations: 4 kB / 497.2 MB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.3624, allocations: 0.6141 MB / 497.8 MB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/0.3669, allocations: 382.1 kB / 498.2 MB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/0.3897, allocations: 22.29 MB / 0.5082 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/0.3921, allocations: 3.071 MB / 0.5112 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001674/0.3938, allocations: 0.8171 MB / 0.512 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.3951, allocations: 1.261 MB / 0.5133 GB, free: 12.16 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3951, allocations: 0 / 0.5133 GB, free: 12.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.823/6.218, allocations: 40.89 MB / 0.5532 GB, free: 130.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/6.219, allocations: 215 kB / 0.5534 GB, free: 130 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/8.537, allocations: 0 / 0.5534 GB, free: 130 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches