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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008904, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.371/1.371, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.3152/0.3152, allocations: 43.57 MB / 315 MB, free: 9.109 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.0004984/0.0004986, allocations: 16 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006522/0.1083, allocations: 7.132 MB / 450.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.112, allocations: 2.314 MB / 453 MB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/0.1124, allocations: 27.94 kB / 453 MB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.113, allocations: 366.4 kB / 453.4 MB, free: 2.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.1147, allocations: 0.8009 MB / 454.2 MB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.1163, allocations: 0.8263 MB / 455 MB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1822/0.2985, allocations: 1.363 MB / 456.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003713/0.3022, allocations: 1.689 MB / 458.1 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008117/0.303, allocations: 0.5332 MB / 458.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/0.3039, allocations: 0.6729 MB / 459.3 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.3041, allocations: 55.62 kB / 459.3 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.3049, allocations: 268.2 kB / 459.6 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.3052, allocations: 236.9 kB / 459.8 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000664/0.3058, allocations: 0.622 MB / 460.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.3073, allocations: 1.659 MB / 462.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3073, allocations: 3.938 kB / 462.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3073, allocations: 0 / 462.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3073, allocations: 5.219 kB / 462.1 MB, free: 35.51 MB / 382.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.00611/0.3135, allocations: 2.152 MB / 464.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3135, allocations: 7.969 kB / 464.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.3137, allocations: 203.5 kB / 464.5 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009869/0.3236, allocations: 1.503 MB / 466 MB, free: 34.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.3243, allocations: 0.6167 MB / 466.6 MB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/0.3244, allocations: 100.6 kB / 466.7 MB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.3246, allocations: 134.6 kB / 466.8 MB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.3269, allocations: 1.539 MB / 468.3 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.327, allocations: 11 kB / 468.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.3271, allocations: 58.31 kB / 468.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3271, allocations: 33.88 kB / 468.5 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.3293, allocations: 1.595 MB / 470 MB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/0.3354, allocations: 5.589 MB / 475.6 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.3373, allocations: 2.371 MB / 478 MB, free: 29.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.3381, allocations: 0.6708 MB / 478.7 MB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.752e-05/0.3382, allocations: 107.4 kB / 478.8 MB, free: 29.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3383, allocations: 49.16 kB / 478.8 MB, free: 29.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 2.494e-06/0.3383, allocations: 0 / 478.8 MB, free: 29.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.008152/0.3464, allocations: 3.22 MB / 482 MB, free: 28.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.3465, allocations: 97.73 kB / 482.1 MB, free: 28.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.3469, allocations: 478.9 kB / 482.6 MB, free: 27.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.3469, allocations: 47.8 kB / 482.7 MB, free: 27.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3471, allocations: 486.9 kB / 483.1 MB, free: 27.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.3473, allocations: 429.9 kB / 483.6 MB, free: 27.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3475, allocations: 107.3 kB / 483.7 MB, free: 27.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.3475, allocations: 380.3 kB / 484 MB, free: 26.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/0.3483, allocations: 478.4 kB / 484.5 MB, free: 26.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.3491, allocations: 0.7549 MB / 485.3 MB, free: 26.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.3507, allocations: 1.281 MB / 486.5 MB, free: 25.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3507, allocations: 2.875 kB / 486.5 MB, free: 25.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002649/0.3533, allocations: 1.68 MB / 488.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3534, allocations: 8.812 kB / 488.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3534, allocations: 10.62 kB / 488.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.3548, allocations: 0.5307 MB / 488.8 MB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/0.3556, allocations: 215.8 kB / 489 MB, free: 24.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006618/0.3622, allocations: 4.713 MB / 493.7 MB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007758/0.363, allocations: 147 kB / 493.8 MB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.3631, allocations: 50.42 kB / 493.9 MB, free: 21.31 MB / 382.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.0004267/0.3636, allocations: 281.6 kB / 494.2 MB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3637, allocations: 79.5 kB / 494.2 MB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.3665, allocations: 1.601 MB / 495.8 MB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.3665, allocations: 13.58 kB / 495.9 MB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3666, allocations: 9.203 kB / 495.9 MB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.3666, allocations: 5.953 kB / 495.9 MB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.3707, allocations: 2.91 MB / 498.8 MB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3707, allocations: 1.922 kB / 498.8 MB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.3714, allocations: 148.2 kB / 498.9 MB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.3727, allocations: 0.5209 MB / 499.4 MB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/0.3728, allocations: 28.69 kB / 499.5 MB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006317/0.3791, allocations: 4.711 MB / 0.4924 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3791, allocations: 0.8438 kB / 0.4924 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.3826, allocations: 2.33 MB / 0.4946 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.3829, allocations: 290.9 kB / 0.4949 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/0.383, allocations: 25.7 kB / 0.4949 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/0.3836, allocations: 52.59 kB / 0.495 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.3838, allocations: 104.2 kB / 0.4951 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.3839, allocations: 38.77 kB / 0.4951 GB, free: 14.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003186/0.3842, allocations: 324 kB / 0.4954 GB, free: 14.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3842, allocations: 2.156 kB / 0.4954 GB, free: 14.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001204/0.3855, allocations: 420.9 kB / 0.4958 GB, free: 13.93 MB / 382.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.003685/0.3891, allocations: 2.934 MB / 0.4987 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.3924, allocations: 1.891 MB / 0.5006 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3924, allocations: 0 / 0.5006 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.3944, allocations: 1.251 MB / 0.5018 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.395, allocations: 94.41 kB / 0.5019 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.406, allocations: 9.549 MB / 0.5112 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.4065, allocations: 1.09 MB / 0.5123 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004979/0.407, allocations: 116.5 kB / 0.5124 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.4074, allocations: 406.9 kB / 0.5128 GB, free: 3.234 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4074, allocations: 0 / 0.5128 GB, free: 3.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/0.4467, allocations: 24.48 MB / 0.5367 GB, free: 11.65 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.4469, allocations: 237.8 kB / 0.5369 GB, free: 11.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.609, allocations: 0 / 0.5369 GB, free: 11.39 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat