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.001541/0.001541, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.001687/0.001688, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.775/1.775, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2669/0.2669, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.00143/0.00143, allocations: 67.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1621, allocations: 57.78 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02714/0.1893, allocations: 22.89 MB / 0.5102 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.2055, allocations: 5.51 MB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007287/0.2129, allocations: 167.4 kB / 0.5158 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02282/0.2358, allocations: 9.49 MB / 0.525 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.2473, allocations: 2.382 MB / 0.5274 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006304/0.2536, allocations: 1.72 MB / 0.5291 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3432/0.5968, allocations: 14.66 MB / 0.5434 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05555/0.6525, allocations: 34.34 MB / 0.5769 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03304/0.6856, allocations: 9.462 MB / 0.5861 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01957/0.7052, allocations: 8.842 MB / 0.5948 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007546/0.7128, allocations: 2.113 MB / 0.5968 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.7237, allocations: 2.348 MB / 0.5991 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01041/0.7342, allocations: 4.395 MB / 0.6034 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02344/0.7577, allocations: 8.529 MB / 0.6118 GB, free: 5.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03983/0.7975, allocations: 28.71 MB / 0.6398 GB, free: 9.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.7976, allocations: 0 / 0.6398 GB, free: 9.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7976, allocations: 0 / 0.6398 GB, free: 9.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009705/0.7986, allocations: 0 / 0.6398 GB, free: 9.957 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.06644/0.8651, allocations: 18.94 MB / 0.6583 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.8651, allocations: 11.97 kB / 0.6583 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06715/0.9323, allocations: 12.67 MB / 0.6707 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0235/0.9558, allocations: 7.94 MB / 0.6784 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001456/0.9573, allocations: 1.077 MB / 0.6795 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007987/0.9653, allocations: 1.384 MB / 0.6808 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07269/1.038, allocations: 24.1 MB / 0.7044 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006409/1.039, allocations: 19.81 kB / 0.7044 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007101/1.046, allocations: 0.5833 MB / 0.705 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008552/1.047, allocations: 0.7296 MB / 0.7057 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06319/1.11, allocations: 22.44 MB / 0.7276 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5737/1.684, allocations: 72.4 MB / 0.7983 GB, free: 153.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02549/1.709, allocations: 31.63 MB / 0.8292 GB, free: 126.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008328/1.718, allocations: 5.066 MB / 0.8341 GB, free: 124.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02851/1.746, allocations: 15.79 MB / 0.8496 GB, free: 115.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.898e-05/1.746, allocations: 89.11 kB / 0.8496 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 8.606e-06/1.746, allocations: 0 / 0.8496 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03412/1.78, allocations: 15.65 MB / 0.8649 GB, free: 107.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/1.781, allocations: 127.6 kB / 0.865 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00844/1.789, allocations: 5.253 MB / 0.8702 GB, free: 104.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.79, allocations: 99.95 kB / 0.8703 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003583/1.794, allocations: 6.044 MB / 0.8762 GB, free: 98.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002367/1.796, allocations: 1.594 MB / 0.8777 GB, free: 96.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002266/1.799, allocations: 1.602 MB / 0.8793 GB, free: 95.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/1.799, allocations: 305.1 kB / 0.8796 GB, free: 94.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005983/1.805, allocations: 4.2 MB / 0.8837 GB, free: 90.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007124/1.812, allocations: 7.56 MB / 0.8911 GB, free: 81.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/1.827, allocations: 12.32 MB / 0.9031 GB, free: 67.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/1.827, allocations: 32 kB / 0.9031 GB, free: 67.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02206/1.849, allocations: 13.45 MB / 0.9163 GB, free: 54.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.14e-05/1.849, allocations: 52 kB / 0.9163 GB, free: 54.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/1.85, allocations: 112 kB / 0.9164 GB, free: 53.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005944/1.856, allocations: 3.098 MB / 0.9194 GB, free: 50.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006597/1.862, allocations: 1.677 MB / 0.9211 GB, free: 49.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007363/1.863, allocations: 323 kB / 0.9214 GB, free: 48.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007548/1.87, allocations: 1.092 MB / 0.9225 GB, free: 47.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001769/1.872, allocations: 408 kB / 0.9228 GB, free: 47.34 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.01168/1.884, allocations: 5.471 MB / 0.9282 GB, free: 41.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/1.886, allocations: 0.5053 MB / 0.9287 GB, free: 41.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/1.904, allocations: 9.655 MB / 0.9381 GB, free: 31.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-05/1.904, allocations: 48 kB / 0.9382 GB, free: 31.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/1.904, allocations: 0 / 0.9382 GB, free: 31.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-05/1.904, allocations: 27.84 kB / 0.9382 GB, free: 31.58 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04193/1.946, allocations: 20.85 MB / 0.9585 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.946, allocations: 3.984 kB / 0.9585 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002884/1.949, allocations: 0.7333 MB / 0.9593 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005363/1.955, allocations: 2.954 MB / 0.9621 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006727/1.955, allocations: 99.97 kB / 0.9622 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004808/1.956, allocations: 130.5 kB / 0.9624 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.956, allocations: 7.938 kB / 0.9624 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/1.976, allocations: 14.15 MB / 0.9762 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004278/1.98, allocations: 1.376 MB / 0.9775 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/1.981, allocations: 76 kB / 0.9776 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/1.985, allocations: 367.5 kB / 0.978 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007493/1.985, allocations: 323.3 kB / 0.9783 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003317/1.986, allocations: 128 kB / 0.9784 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008362/1.994, allocations: 3.505 MB / 0.9818 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.61e-07/1.994, allocations: 0 / 0.9818 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01388/2.008, allocations: 3.23 MB / 0.985 GB, free: 15.59 MB / 0.6231 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.001426/2.009, allocations: 260.8 kB / 0.9852 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02076/2.03, allocations: 10.04 MB / 0.995 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/2.03, allocations: 384 / 0.995 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/2.041, allocations: 4.45 MB / 0.9994 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.328/2.369, allocations: 1.276 MB / 1.001 GB, free: 209.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06228/2.431, allocations: 24.33 MB / 1.024 GB, free: 202.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02015/2.451, allocations: 9.115 MB / 1.033 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.009029/2.46, allocations: 2.942 MB / 1.036 GB, free: 199.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/2.463, allocations: 383.8 kB / 1.037 GB, free: 199.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.292e-06/2.463, allocations: 0.7812 kB / 1.037 GB, free: 199.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.1464/2.609, allocations: 95.6 MB / 1.13 GB, free: 117.1 MB / 0.6231 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches