Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009525/0.0009525, allocations: 199.9 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.159/1.159, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006796/0.0006795, allocations: 98.09 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2674/0.2674, allocations: 44.83 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002505, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2756, allocations: 62.96 MB / 0.516 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01327/0.289, allocations: 19.77 MB / 0.5353 GB, free: 22.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008881/0.2979, allocations: 5.075 MB / 0.5402 GB, free: 19.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.3014, allocations: 172 kB / 0.5404 GB, free: 19.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.3045, allocations: 1.017 MB / 0.5414 GB, free: 18.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005554/0.31, allocations: 1.851 MB / 0.5432 GB, free: 17.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.3141, allocations: 1.465 MB / 0.5446 GB, free: 16.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01464/0.3287, allocations: 13.59 MB / 0.5579 GB, free: 9.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05114/0.3799, allocations: 32.87 MB / 0.59 GB, free: 13.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008805/0.3887, allocations: 5.501 MB / 0.5954 GB, free: 7.875 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009961/0.3987, allocations: 6.194 MB / 0.6014 GB, free: 1.656 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002955/0.4017, allocations: 0.832 MB / 0.6022 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/0.4072, allocations: 1.07 MB / 0.6033 GB, free: 15.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00372/0.4109, allocations: 2.659 MB / 0.6059 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01122/0.4222, allocations: 6.376 MB / 0.6121 GB, free: 6.676 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02195/0.4442, allocations: 24.1 MB / 0.6356 GB, free: 14.51 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4442, allocations: 0 / 0.6356 GB, free: 14.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4442, allocations: 0 / 0.6356 GB, free: 14.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007076/0.4449, allocations: 0 / 0.6356 GB, free: 14.51 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04148/0.4864, allocations: 15.52 MB / 0.6508 GB, free: 14.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4865, allocations: 12.03 kB / 0.6508 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006229/0.4927, allocations: 2.01 MB / 0.6528 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0539/0.5466, allocations: 11.78 MB / 0.6643 GB, free: 1.039 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0156/0.5623, allocations: 8.55 MB / 0.6726 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000977/0.5633, allocations: 1.063 MB / 0.6737 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004315/0.5676, allocations: 1.367 MB / 0.675 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4328/1, allocations: 23.5 MB / 0.6979 GB, free: 97.46 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005487/1.001, allocations: 19.8 kB / 0.698 GB, free: 97.46 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003513/1.005, allocations: 0.5725 MB / 0.6985 GB, free: 97.01 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006433/1.005, allocations: 0.6981 MB / 0.6992 GB, free: 96.95 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04196/1.047, allocations: 21.63 MB / 0.7203 GB, free: 89.46 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09859/1.146, allocations: 72.93 MB / 0.7915 GB, free: 23.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/1.165, allocations: 28.65 MB / 0.8195 GB, free: 8.441 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007561/1.172, allocations: 4.962 MB / 0.8244 GB, free: 3.453 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0277/1.2, allocations: 16.52 MB / 0.8405 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/1.2, allocations: 78.11 kB / 0.8406 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=465): time 6.582e-06/1.2, allocations: 0 / 0.8406 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of matching and sorting (n=465): time 0.03548/1.236, allocations: 15.83 MB / 0.856 GB, free: 2.695 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/1.236, allocations: 124.7 kB / 0.8561 GB, free: 2.555 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008119/1.244, allocations: 5.066 MB / 0.8611 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0007823/1.245, allocations: 97.7 kB / 0.8612 GB, free: 13.38 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.003521/1.248, allocations: 5.889 MB / 0.8669 GB, free: 7.461 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/1.25, allocations: 1.588 MB / 0.8685 GB, free: 5.887 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000852/1.251, allocations: 148 kB / 0.8686 GB, free: 5.742 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0006158/1.252, allocations: 0.6238 MB / 0.8692 GB, free: 5.113 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006651/1.258, allocations: 4.141 MB / 0.8733 GB, free: 0.9688 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008363/1.267, allocations: 7.262 MB / 0.8804 GB, free: 8.258 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/1.282, allocations: 11.94 MB / 0.892 GB, free: 10.85 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.327e-05/1.282, allocations: 28 kB / 0.8921 GB, free: 10.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.2178/1.499, allocations: 13.1 MB / 0.9049 GB, free: 176.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/1.5, allocations: 48.19 kB / 0.9049 GB, free: 176.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/1.5, allocations: 104.1 kB / 0.905 GB, free: 176.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005417/1.505, allocations: 3.088 MB / 0.908 GB, free: 176.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004974/1.51, allocations: 1.592 MB / 0.9096 GB, free: 176.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/1.534, allocations: 21.89 MB / 0.9309 GB, free: 166.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/1.54, allocations: 1.077 MB / 0.932 GB, free: 165.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009607/1.541, allocations: 386.2 kB / 0.9324 GB, free: 165.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.007789/1.549, allocations: 5.386 MB / 0.9376 GB, free: 163.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008919/1.549, allocations: 0.4933 MB / 0.9381 GB, free: 163.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.564, allocations: 9.666 MB / 0.9476 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/1.564, allocations: 47.16 kB / 0.9476 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.564, allocations: 4.625 kB / 0.9476 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.733e-05/1.564, allocations: 22.59 kB / 0.9476 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.589, allocations: 20.8 MB / 0.9679 GB, free: 152.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.59, allocations: 7.328 kB / 0.9679 GB, free: 152.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.592, allocations: 0.7342 MB / 0.9687 GB, free: 152.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005053/1.597, allocations: 2.965 MB / 0.9716 GB, free: 151.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/1.597, allocations: 98.09 kB / 0.9716 GB, free: 151.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02302/1.62, allocations: 21.68 MB / 0.9928 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.621, allocations: 0 / 0.9928 GB, free: 135.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.637, allocations: 14.24 MB / 1.007 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.64, allocations: 1.38 MB / 1.008 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008533/1.64, allocations: 88.05 kB / 1.008 GB, free: 119.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/1.643, allocations: 395.5 kB / 1.009 GB, free: 119 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001142/1.644, allocations: 379.2 kB / 1.009 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000315/1.645, allocations: 136 kB / 1.009 GB, free: 118.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004367/1.649, allocations: 3.388 MB / 1.012 GB, free: 115.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.649, allocations: 0 / 1.012 GB, free: 115.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007136/1.656, allocations: 3.42 MB / 1.016 GB, free: 111.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01601/1.672, allocations: 14.96 MB / 1.03 GB, free: 96.71 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.686, allocations: 11.41 MB / 1.041 GB, free: 85.24 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.686, allocations: 0 / 1.041 GB, free: 85.24 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007259/1.694, allocations: 5.972 MB / 1.047 GB, free: 79.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005457/1.699, allocations: 1.186 MB / 1.048 GB, free: 78.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2802/1.979, allocations: 67.75 MB / 1.115 GB, free: 176.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009953/1.989, allocations: 8.815 MB / 1.123 GB, free: 175.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004944/1.994, allocations: 4.755 MB / 1.128 GB, free: 173.4 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/1.994, allocations: 3.906 kB / 1.128 GB, free: 173.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.59/13.59, allocations: 435.6 MB / 1.553 GB, free: 144.5 MB / 0.5887 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches