Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.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.001446/0.001446, allocations: 109 kB / 20.48 MB, free: 1.492 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.001814/0.001814, allocations: 212.7 kB / 23.79 MB, free: 4.707 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.742/1.742, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2493/0.2493, allocations: 44.24 MB / 331.1 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",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.002842/0.002842, allocations: 71.89 kB / 468.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1617, allocations: 61.03 MB / 0.5169 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02847/0.1902, allocations: 23.03 MB / 0.5394 GB, free: 220 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3135/0.5037, allocations: 5.513 MB / 0.5448 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006231/0.5099, allocations: 194.2 kB / 0.545 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02108/0.531, allocations: 9.618 MB / 0.5544 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00959/0.5406, allocations: 2.284 MB / 0.5566 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00645/0.547, allocations: 1.949 MB / 0.5585 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02186/0.5689, allocations: 14.74 MB / 0.5729 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06283/0.6317, allocations: 21.35 MB / 0.5937 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01613/0.6478, allocations: 8.241 MB / 0.6018 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02332/0.6711, allocations: 8.928 MB / 0.6105 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008503/0.6797, allocations: 2.113 MB / 0.6126 GB, free: 392 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.6897, allocations: 2.349 MB / 0.6149 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009668/0.6994, allocations: 4.407 MB / 0.6192 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02246/0.7219, allocations: 8.526 MB / 0.6275 GB, free: 1.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04433/0.7662, allocations: 28.79 MB / 0.6556 GB, free: 5.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.7662, allocations: 0 / 0.6556 GB, free: 5.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7662, allocations: 4 kB / 0.6556 GB, free: 5.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009267/0.7672, allocations: 0 / 0.6556 GB, free: 5.016 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.06773/0.8349, allocations: 19.17 MB / 0.6743 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.8349, allocations: 8.031 kB / 0.6743 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004326/0.8354, allocations: 389.5 kB / 0.6747 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008238/0.8436, allocations: 2.049 MB / 0.6767 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06942/0.913, allocations: 12.74 MB / 0.6892 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02372/0.9368, allocations: 8.108 MB / 0.6971 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001582/0.9383, allocations: 1.086 MB / 0.6981 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007077/0.9454, allocations: 1.384 MB / 0.6995 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0688/1.014, allocations: 24.1 MB / 0.723 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007955/1.015, allocations: 23.83 kB / 0.7231 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005637/1.021, allocations: 0.5822 MB / 0.7236 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/1.022, allocations: 0.7373 MB / 0.7243 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06076/1.082, allocations: 22.45 MB / 0.7463 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7192/1.802, allocations: 70.73 MB / 0.8153 GB, free: 121.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/1.821, allocations: 12.07 MB / 0.8271 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007374/1.828, allocations: 4.599 MB / 0.8316 GB, free: 115 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02625/1.854, allocations: 15.3 MB / 0.8466 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/1.855, allocations: 82.7 kB / 0.8466 GB, free: 106.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 6.081e-06/1.855, allocations: 3.938 kB / 0.8466 GB, free: 106.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.0351/1.89, allocations: 15.36 MB / 0.8616 GB, free: 97.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/1.89, allocations: 124.7 kB / 0.8618 GB, free: 97.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007973/1.898, allocations: 5.267 MB / 0.8669 GB, free: 92.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001304/1.899, allocations: 97.7 kB / 0.867 GB, free: 92.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003405/1.902, allocations: 6.268 MB / 0.8731 GB, free: 86.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002432/1.905, allocations: 1.67 MB / 0.8747 GB, free: 85.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002454/1.907, allocations: 1.603 MB / 0.8763 GB, free: 83.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/1.907, allocations: 305.1 kB / 0.8766 GB, free: 83.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005921/1.913, allocations: 4.207 MB / 0.8807 GB, free: 79.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008885/1.922, allocations: 7.553 MB / 0.8881 GB, free: 70.01 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/1.938, allocations: 12.32 MB / 0.9001 GB, free: 56.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/1.938, allocations: 33.31 kB / 0.9001 GB, free: 56.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02312/1.961, allocations: 13.4 MB / 0.9132 GB, free: 43.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/1.961, allocations: 52 kB / 0.9133 GB, free: 43.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.961, allocations: 112 kB / 0.9134 GB, free: 43.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005892/1.967, allocations: 3.097 MB / 0.9164 GB, free: 40.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006604/1.974, allocations: 1.666 MB / 0.918 GB, free: 39.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006904/1.974, allocations: 321.2 kB / 0.9183 GB, free: 38.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007627/1.982, allocations: 1.13 MB / 0.9194 GB, free: 37.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.984, allocations: 404 kB / 0.9198 GB, free: 37.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01078/1.994, allocations: 5.457 MB / 0.9252 GB, free: 31.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/1.997, allocations: 0.5356 MB / 0.9257 GB, free: 31.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/2.012, allocations: 9.574 MB / 0.935 GB, free: 21.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-05/2.012, allocations: 44.98 kB / 0.9351 GB, free: 21.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/2.012, allocations: 4 kB / 0.9351 GB, free: 21.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.358e-05/2.012, allocations: 34.47 kB / 0.9351 GB, free: 21.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03976/2.052, allocations: 20.9 MB / 0.9555 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/2.052, allocations: 0 / 0.9555 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003303/2.055, allocations: 0.7378 MB / 0.9562 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007378/2.063, allocations: 2.964 MB / 0.9591 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001289/2.064, allocations: 99.98 kB / 0.9592 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006282/2.065, allocations: 126.5 kB / 0.9594 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/2.065, allocations: 3.938 kB / 0.9594 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02624/2.091, allocations: 14.1 MB / 0.9731 GB, free: 14.78 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004827/2.096, allocations: 1.376 MB / 0.9745 GB, free: 13.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/2.098, allocations: 83.94 kB / 0.9746 GB, free: 13.32 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004033/2.102, allocations: 371.6 kB / 0.9749 GB, free: 12.95 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/2.103, allocations: 327.2 kB / 0.9752 GB, free: 12.63 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006815/2.103, allocations: 131.9 kB / 0.9753 GB, free: 12.5 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007525/2.111, allocations: 3.505 MB / 0.9788 GB, free: 9.008 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.6e-07/2.111, allocations: 0 / 0.9788 GB, free: 9.008 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01341/2.124, allocations: 3.281 MB / 0.982 GB, free: 5.715 MB / 0.6232 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0309/2.155, allocations: 14.82 MB / 0.9964 GB, free: 6.902 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02486/2.18, allocations: 9.616 MB / 1.006 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/2.18, allocations: 4 kB / 1.006 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/2.192, allocations: 4.106 MB / 1.01 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/2.203, allocations: 1.271 MB / 1.011 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4222/2.625, allocations: 79.82 MB / 1.089 GB, free: 195.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01762/2.643, allocations: 9.11 MB / 1.098 GB, free: 185.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007877/2.65, allocations: 2.94 MB / 1.101 GB, free: 183 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008406/2.659, allocations: 4.756 MB / 1.105 GB, free: 178.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.925e-06/2.659, allocations: 0 / 1.105 GB, free: 178.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5765/3.235, allocations: 185.8 MB / 1.287 GB, free: 172.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.74/28.98, allocations: 3.75 kB / 1.287 GB, free: 172.4 MB / 0.6544 GB " [Timeout remaining time 631] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 40.58350855996832]