Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001693/0.001693, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.761/1.761, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2673/0.2673, allocations: 43.52 MB / 314.1 MB, free: 452 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.00146/0.00146, allocations: 63.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1743, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009373/0.1838, allocations: 7.725 MB / 0.4954 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006782/0.1906, allocations: 2.368 MB / 0.4977 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.1928, allocations: 27.94 kB / 0.4978 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004673/0.1976, allocations: 1.808 MB / 0.4995 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003578/0.2012, allocations: 0.8973 MB / 0.5004 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.2037, allocations: 0.8844 MB / 0.5013 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.2063, allocations: 1.444 MB / 0.5027 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.208, allocations: 0.9969 MB / 0.5036 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.209, allocations: 0.6189 MB / 0.5043 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008771/0.2099, allocations: 0.7469 MB / 0.505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.2101, allocations: 116 kB / 0.5051 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.2112, allocations: 327.8 kB / 0.5054 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.2116, allocations: 310.8 kB / 0.5057 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000819/0.2124, allocations: 0.6647 MB / 0.5064 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.2149, allocations: 1.767 MB / 0.5081 GB, free: 6.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2149, allocations: 0 / 0.5081 GB, free: 6.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2149, allocations: 0 / 0.5081 GB, free: 6.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.2149, allocations: 4 kB / 0.5081 GB, free: 6.992 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007189/0.2221, allocations: 2.404 MB / 0.5104 GB, free: 4.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2222, allocations: 11.89 kB / 0.5104 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.2324, allocations: 1.494 MB / 0.5119 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.2342, allocations: 0.6246 MB / 0.5125 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.94e-05/0.2343, allocations: 107.1 kB / 0.5126 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.2345, allocations: 136.3 kB / 0.5127 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.2372, allocations: 1.535 MB / 0.5142 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.2373, allocations: 4 kB / 0.5142 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.2374, allocations: 52 kB / 0.5143 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.2375, allocations: 40 kB / 0.5143 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.2401, allocations: 1.58 MB / 0.5159 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008531/0.2487, allocations: 5.523 MB / 0.5213 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.2519, allocations: 2.358 MB / 0.5236 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.2531, allocations: 0.6646 MB / 0.5242 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.2533, allocations: 102.1 kB / 0.5243 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/0.2533, allocations: 47.56 kB / 0.5244 GB, free: 5.582 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.307e-06/0.2534, allocations: 0 / 0.5244 GB, free: 5.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.008982/0.2623, allocations: 3.167 MB / 0.5275 GB, free: 2.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.2624, allocations: 90.11 kB / 0.5275 GB, free: 2.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.2631, allocations: 477.9 kB / 0.528 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.2631, allocations: 45.7 kB / 0.528 GB, free: 1.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.2635, allocations: 491.2 kB / 0.5285 GB, free: 1.258 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.2639, allocations: 437.7 kB / 0.5289 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/0.2643, allocations: 226.8 kB / 0.5291 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2645, allocations: 382.8 kB / 0.5295 GB, free: 220 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.414/0.6785, allocations: 459.5 kB / 0.5299 GB, free: 38.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.6802, allocations: 0.7464 MB / 0.5307 GB, free: 38.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.6828, allocations: 1.256 MB / 0.5319 GB, free: 38.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.6828, allocations: 2.906 kB / 0.5319 GB, free: 38.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004408/0.6872, allocations: 1.673 MB / 0.5335 GB, free: 38.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.6873, allocations: 10.34 kB / 0.5335 GB, free: 38.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/0.6873, allocations: 13.16 kB / 0.5336 GB, free: 38.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/0.6901, allocations: 0.5245 MB / 0.5341 GB, free: 38.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.6916, allocations: 218.1 kB / 0.5343 GB, free: 38.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003588/0.692, allocations: 59 kB / 0.5343 GB, free: 38.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.6934, allocations: 124.8 kB / 0.5345 GB, free: 38.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.6935, allocations: 52.69 kB / 0.5345 GB, free: 38.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0007984/0.6944, allocations: 281.8 kB / 0.5348 GB, free: 37.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.6947, allocations: 84.77 kB / 0.5349 GB, free: 37.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/0.6996, allocations: 1.572 MB / 0.5364 GB, free: 37.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/0.6997, allocations: 17.53 kB / 0.5364 GB, free: 37.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.6997, allocations: 0 / 0.5364 GB, free: 37.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.274e-05/0.6997, allocations: 8.141 kB / 0.5364 GB, free: 37.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007798/0.7075, allocations: 2.89 MB / 0.5392 GB, free: 35.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.7076, allocations: 1.125 kB / 0.5392 GB, free: 35.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.7088, allocations: 150.2 kB / 0.5394 GB, free: 35.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002569/0.7114, allocations: 0.5166 MB / 0.5399 GB, free: 35.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.7115, allocations: 28.23 kB / 0.5399 GB, free: 35.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001348/0.7117, allocations: 27.78 kB / 0.5399 GB, free: 35.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.7117, allocations: 6.453 kB / 0.5399 GB, free: 35.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006914/0.7186, allocations: 2.297 MB / 0.5422 GB, free: 34.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000845/0.7195, allocations: 285.8 kB / 0.5425 GB, free: 34.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.7197, allocations: 25.84 kB / 0.5425 GB, free: 34.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009813/0.7207, allocations: 44.73 kB / 0.5425 GB, free: 34.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/0.721, allocations: 83.92 kB / 0.5426 GB, free: 34.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.7211, allocations: 35.16 kB / 0.5426 GB, free: 34.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005837/0.7217, allocations: 320.4 kB / 0.5429 GB, free: 34.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7217, allocations: 0 / 0.5429 GB, free: 34.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001866/0.7236, allocations: 345.4 kB / 0.5433 GB, free: 34.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004038/0.724, allocations: 157.3 kB / 0.5434 GB, free: 33.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004584/0.7286, allocations: 1.395 MB / 0.5448 GB, free: 33.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.7287, allocations: 1.812 kB / 0.5448 GB, free: 33.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002764/0.7314, allocations: 0.7723 MB / 0.5455 GB, free: 33.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7327, allocations: 104.1 kB / 0.5456 GB, free: 33.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/0.738, allocations: 2.092 MB / 0.5477 GB, free: 32.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.7389, allocations: 1.046 MB / 0.5487 GB, free: 31.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000774/0.7397, allocations: 121.8 kB / 0.5488 GB, free: 31.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.74, allocations: 62.31 kB / 0.5489 GB, free: 31.26 MB / 414.1 MB Notification: Performance of SimCode: time 2.064e-06/0.74, allocations: 5.125 kB / 0.5489 GB, free: 31.26 MB / 414.1 MB Notification: Performance of Templates: time 0.03378/0.7738, allocations: 14.15 MB / 0.5627 GB, free: 25.38 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches