Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001951/0.001951, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.5 MB / 254.7 MB, free: 14.98 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.88 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.102, allocations: 53.32 MB / 426.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004101/0.1061, allocations: 2.854 MB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1077, allocations: 0.7672 MB / 430.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1079, allocations: 8 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.108, allocations: 59.42 kB / 430.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.1083, allocations: 99.05 kB / 430.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1087, allocations: 123.8 kB / 430.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.1092, allocations: 458.7 kB / 431.2 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.1095, allocations: 160.9 kB / 431.4 MB, free: 292 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.1098, allocations: 179.4 kB / 431.6 MB, free: 112 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1978/0.3076, allocations: 204.8 kB / 431.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.3077, allocations: 45.47 kB / 431.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.3079, allocations: 55.33 kB / 431.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.308, allocations: 95.7 kB / 432 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.3082, allocations: 222.7 kB / 432.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.3088, allocations: 0.5037 MB / 432.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3088, allocations: 0.9375 kB / 432.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3088, allocations: 0.6562 kB / 432.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3088, allocations: 0 / 432.7 MB, free: 7.875 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009391/0.3097, allocations: 0.6941 MB / 433.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3098, allocations: 13.44 kB / 433.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.3098, allocations: 82.83 kB / 433.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.3101, allocations: 62.8 kB / 433.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3103, allocations: 278.5 kB / 433.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3103, allocations: 31.97 kB / 433.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.3104, allocations: 43.12 kB / 433.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.3109, allocations: 457 kB / 434.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3109, allocations: 6.266 kB / 434.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.311, allocations: 15.91 kB / 434.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.311, allocations: 14.31 kB / 434.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.3114, allocations: 276.1 kB / 434.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.313, allocations: 1.305 MB / 435.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.3134, allocations: 215.3 kB / 436.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3137, allocations: 176.9 kB / 436.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3138, allocations: 7.062 kB / 436.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3138, allocations: 37.8 kB / 436.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.3138, allocations: 0 / 436.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001277/0.3151, allocations: 0.5535 MB / 436.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.3151, allocations: 236.7 kB / 437.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3153, allocations: 207.2 kB / 437.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3153, allocations: 35.08 kB / 437.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.3154, allocations: 206.9 kB / 437.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.3154, allocations: 108.2 kB / 437.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.3155, allocations: 60.88 kB / 437.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.3156, allocations: 335.6 kB / 438.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3157, allocations: 76.73 kB / 438.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.3159, allocations: 154.1 kB / 438.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.3162, allocations: 202.5 kB / 438.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3162, allocations: 1.266 kB / 438.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004208/0.3166, allocations: 279.1 kB / 438.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3166, allocations: 5.156 kB / 438.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3167, allocations: 1.922 kB / 438.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3167, allocations: 1.406 kB / 438.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.317, allocations: 82.7 kB / 438.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.317, allocations: 2.219 kB / 438.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3171, allocations: 39 kB / 438.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3172, allocations: 7.906 kB / 438.9 MB, free: 4.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.3173, allocations: 151.1 kB / 439.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.3173, allocations: 28.23 kB / 439.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.3174, allocations: 33.66 kB / 439.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3174, allocations: 3.75 kB / 439.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3174, allocations: 2.375 kB / 439.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3174, allocations: 6.344 kB / 439.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009339/0.3183, allocations: 0.7651 MB / 439.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3183, allocations: 1.031 kB / 439.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.3186, allocations: 50.44 kB / 439.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/0.3189, allocations: 90.06 kB / 440 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3189, allocations: 6.891 kB / 440 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.3204, allocations: 1.986 MB / 442 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3204, allocations: 0 / 442 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.3211, allocations: 0.4946 MB / 442.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.3211, allocations: 106.7 kB / 442.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.3211, allocations: 7.656 kB / 442.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3213, allocations: 11.03 kB / 442.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.3214, allocations: 23.16 kB / 442.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3214, allocations: 6.375 kB / 442.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.3215, allocations: 155.4 kB / 442.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3215, allocations: 0 / 442.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003888/0.3219, allocations: 105.8 kB / 442.9 MB, free: 1.914 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008532/0.3227, allocations: 1.044 MB / 444 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004935/0.3232, allocations: 202.8 kB / 444.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3232, allocations: 0.5312 kB / 444.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004048/0.3236, allocations: 262.1 kB / 444.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.324, allocations: 34.69 kB / 444.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.3274, allocations: 2.917 MB / 447.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3278, allocations: 0.7875 MB / 448.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.3279, allocations: 27.39 kB / 448.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.3281, allocations: 107.1 kB / 448.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3281, allocations: 0 / 448.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.3631, allocations: 6.046 MB / 454.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.79, allocations: 8.219 kB / 454.4 MB, free: 13.25 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.07810483733192] Failed to read output from testmodel.py, exit status != 0: ['time', 'L1.iinternal', 'L2.iinternal', 'L3.iinternal'] 10.871827221941203 10.886716269 10.574943803 Calling exit ...