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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009141/0.009141, allocations: 100.9 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 192 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4275/0.4275, allocations: 43.48 MB / 313.5 MB, free: 8.469 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 74.55 kB / 382 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1784, allocations: 57.78 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.2942/0.4727, allocations: 22.47 MB / 462.3 MB, free: 37.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.4843, allocations: 5.457 MB / 467.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005534/0.4899, allocations: 154.4 kB / 467.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01707/0.5071, allocations: 9.02 MB / 476.9 MB, free: 30.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009388/0.5165, allocations: 2.185 MB / 479.1 MB, free: 29.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005189/0.5217, allocations: 1.598 MB / 480.7 MB, free: 28.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01749/0.5392, allocations: 14.74 MB / 495.5 MB, free: 21.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05043/0.5896, allocations: 29.08 MB / 0.5122 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01768/0.6074, allocations: 7.067 MB / 0.5191 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01695/0.6244, allocations: 8.533 MB / 0.5275 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00725/0.6317, allocations: 1.523 MB / 0.529 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.6434, allocations: 1.742 MB / 0.5307 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01078/0.6542, allocations: 3.745 MB / 0.5343 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02315/0.6774, allocations: 7.874 MB / 0.542 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03892/0.7163, allocations: 28.05 MB / 0.5694 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7164, allocations: 4 kB / 0.5694 GB, free: 13.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.7164, allocations: 4 kB / 0.5694 GB, free: 13.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001076/0.7175, allocations: 0 / 0.5694 GB, free: 13.38 MB / 446.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.07195/0.7894, allocations: 18.91 MB / 0.5879 GB, free: 10.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.7895, allocations: 12.03 kB / 0.5879 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06781/0.8573, allocations: 12.67 MB / 0.6003 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02554/0.8829, allocations: 7.901 MB / 0.608 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001537/0.8845, allocations: 1.072 MB / 0.609 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009017/0.8936, allocations: 1.402 MB / 0.6104 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5869/1.481, allocations: 24.1 MB / 0.6339 GB, free: 108.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007519/1.481, allocations: 13.97 kB / 0.6339 GB, free: 108.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006112/1.487, allocations: 0.5749 MB / 0.6345 GB, free: 108.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008793/1.488, allocations: 0.7346 MB / 0.6352 GB, free: 108 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0583/1.547, allocations: 22.44 MB / 0.6571 GB, free: 101.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1448/1.692, allocations: 73.31 MB / 0.7287 GB, free: 54.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/1.714, allocations: 31.61 MB / 0.7596 GB, free: 23.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/1.725, allocations: 5.072 MB / 0.7645 GB, free: 18.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03435/1.759, allocations: 15.84 MB / 0.78 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/1.759, allocations: 78.11 kB / 0.7801 GB, free: 2.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 5.721e-06/1.759, allocations: 0 / 0.7801 GB, free: 2.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.04125/1.801, allocations: 15.66 MB / 0.7954 GB, free: 2.871 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.801, allocations: 128.6 kB / 0.7955 GB, free: 2.727 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/1.814, allocations: 5.26 MB / 0.8006 GB, free: 13.47 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001243/1.815, allocations: 97.7 kB / 0.8007 GB, free: 13.37 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.005892/1.821, allocations: 6.04 MB / 0.8066 GB, free: 7.25 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002862/1.824, allocations: 1.595 MB / 0.8082 GB, free: 5.633 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005578/1.83, allocations: 1.594 MB / 0.8097 GB, free: 4.031 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.83, allocations: 307 kB / 0.81 GB, free: 3.73 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007342/1.837, allocations: 4.196 MB / 0.8141 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/1.848, allocations: 7.56 MB / 0.8215 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01964/1.867, allocations: 12.31 MB / 0.8335 GB, free: 8.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000215/1.868, allocations: 36 kB / 0.8336 GB, free: 8.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.3669/2.235, allocations: 13.44 MB / 0.8467 GB, free: 161 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/2.235, allocations: 57.61 kB / 0.8468 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/2.235, allocations: 115.7 kB / 0.8469 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006622/2.242, allocations: 3.098 MB / 0.8499 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006677/2.248, allocations: 1.666 MB / 0.8515 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007361/2.249, allocations: 318.6 kB / 0.8518 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007709/2.257, allocations: 1.116 MB / 0.8529 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/2.259, allocations: 403.2 kB / 0.8533 GB, free: 160.8 MB / 0.545 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.01325/2.272, allocations: 5.461 MB / 0.8586 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/2.274, allocations: 0.507 MB / 0.8591 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02453/2.298, allocations: 9.668 MB / 0.8686 GB, free: 156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001172/2.299, allocations: 47.5 kB / 0.8686 GB, free: 156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.752e-05/2.299, allocations: 2.625 kB / 0.8686 GB, free: 156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000144/2.299, allocations: 23.23 kB / 0.8686 GB, free: 156 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06801/2.367, allocations: 20.88 MB / 0.889 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/2.367, allocations: 1.531 kB / 0.889 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003843/2.371, allocations: 0.7346 MB / 0.8897 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00798/2.379, allocations: 2.958 MB / 0.8926 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001706/2.381, allocations: 98.72 kB / 0.8927 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007845/2.381, allocations: 127.8 kB / 0.8929 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.381, allocations: 0 / 0.8929 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03056/2.412, allocations: 14.15 MB / 0.9067 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006256/2.418, allocations: 1.376 MB / 0.908 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/2.421, allocations: 77.81 kB / 0.9081 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004633/2.425, allocations: 380.1 kB / 0.9084 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/2.427, allocations: 318.6 kB / 0.9088 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001229/2.428, allocations: 134.3 kB / 0.9089 GB, free: 141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01014/2.438, allocations: 3.502 MB / 0.9123 GB, free: 139.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.503e-06/2.438, allocations: 0 / 0.9123 GB, free: 139.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01295/2.451, allocations: 3.236 MB / 0.9155 GB, free: 138.7 MB / 0.545 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.002046/2.453, allocations: 261.3 kB / 0.9157 GB, free: 138.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02211/2.476, allocations: 10.02 MB / 0.9255 GB, free: 130.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/2.476, allocations: 0.5625 kB / 0.9255 GB, free: 130.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0123/2.488, allocations: 4.435 MB / 0.9298 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/2.499, allocations: 1.198 MB / 0.931 GB, free: 125.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05922/2.559, allocations: 30.45 MB / 0.9607 GB, free: 97.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02344/2.582, allocations: 9.105 MB / 0.9696 GB, free: 88.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01132/2.593, allocations: 2.944 MB / 0.9725 GB, free: 85.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/2.596, allocations: 383.4 kB / 0.9729 GB, free: 84.91 MB / 0.545 GB Notification: Performance of SimCode: time 1.183e-06/2.596, allocations: 0 / 0.9729 GB, free: 84.91 MB / 0.545 GB Notification: Performance of Templates: time 0.4601/3.056, allocations: 93.92 MB / 1.065 GB, free: 151.4 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches