Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001643/0.001643, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002198/0.002198, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CompareTransformers",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.001985/0.001985, allocations: 68.55 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2773, allocations: 53.36 MB / 432 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006279/0.2836, allocations: 4.153 MB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2858, allocations: 0.958 MB / 437.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.286, allocations: 11.94 kB / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.2863, allocations: 91.08 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.2867, allocations: 198.3 kB / 437.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.2871, allocations: 163.7 kB / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.2879, allocations: 0.6693 MB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.2882, allocations: 143.7 kB / 438.3 MB, free: 480 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.2886, allocations: 274.9 kB / 438.6 MB, free: 204 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.289, allocations: 286.8 kB / 438.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-05/0.2891, allocations: 60 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2892, allocations: 64 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2894, allocations: 127.4 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.2896, allocations: 310.4 kB / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008206/0.2905, allocations: 0.6465 MB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2905, allocations: 0 / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2905, allocations: 0 / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.2905, allocations: 4 kB / 440.1 MB, free: 14.72 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001538/0.292, allocations: 0.8047 MB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2921, allocations: 8.031 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.2922, allocations: 108 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.2925, allocations: 88.48 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.2931, allocations: 326 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.2931, allocations: 41.69 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/0.2932, allocations: 48.38 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.294, allocations: 0.5033 MB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.294, allocations: 0 / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.2941, allocations: 24 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.2941, allocations: 16 kB / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.2948, allocations: 340.4 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.2976, allocations: 1.666 MB / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.2981, allocations: 245.1 kB / 444.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.2983, allocations: 137.6 kB / 444.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2984, allocations: 3.938 kB / 444.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.2984, allocations: 46.5 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.2984, allocations: 0 / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001872/0.3003, allocations: 0.8269 MB / 445.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.3003, allocations: 85.03 kB / 445.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.3008, allocations: 389.6 kB / 445.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.3008, allocations: 33.7 kB / 445.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.301, allocations: 304 kB / 446.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3011, allocations: 127 kB / 446.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3012, allocations: 70.14 kB / 446.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3015, allocations: 346.8 kB / 446.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.3017, allocations: 104.8 kB / 446.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.302, allocations: 190.6 kB / 446.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.3025, allocations: 312.1 kB / 447.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3025, allocations: 0 / 447.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008497/0.3033, allocations: 448.8 kB / 447.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3034, allocations: 7.938 kB / 447.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3034, allocations: 4.312 kB / 447.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.3037, allocations: 85.59 kB / 447.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.304, allocations: 75.91 kB / 447.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.3069, allocations: 2.932 MB / 450.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.3072, allocations: 19.89 kB / 450.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.3073, allocations: 19.98 kB / 450.8 MB, free: 3.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002264/0.3075, allocations: 164.7 kB / 450.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3076, allocations: 47.7 kB / 451 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.3077, allocations: 43.47 kB / 451 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3077, allocations: 8 kB / 451 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3077, allocations: 0 / 451 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3077, allocations: 7.984 kB / 451 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3091, allocations: 0.916 MB / 452 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.3091, allocations: 8 kB / 452 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.3093, allocations: 43.91 kB / 452 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.3096, allocations: 81.59 kB / 452.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.3096, allocations: 12 kB / 452.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002764/0.3124, allocations: 2.924 MB / 455 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3124, allocations: 0 / 455 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009547/0.3133, allocations: 0.6137 MB / 455.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.3134, allocations: 47.67 kB / 455.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.3135, allocations: 8 kB / 455.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.3138, allocations: 23.98 kB / 455.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.3139, allocations: 35.89 kB / 455.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3139, allocations: 7.984 kB / 455.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.3143, allocations: 279.1 kB / 456 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3143, allocations: 0 / 456 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.3148, allocations: 120 kB / 456.1 MB, free: 13.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001301/0.3161, allocations: 1.167 MB / 457.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009198/0.317, allocations: 0.4932 MB / 457.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.317, allocations: 0 / 457.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.3177, allocations: 377.9 kB / 458.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.3182, allocations: 65.55 kB / 458.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.324, allocations: 4.216 MB / 462.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.3245, allocations: 0.8432 MB / 463.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.3247, allocations: 43.28 kB / 463.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.3249, allocations: 175.4 kB / 463.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3249, allocations: 0 / 463.5 MB, free: 6.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04721/0.3721, allocations: 9.316 MB / 472.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.9, allocations: 11.31 kB / 472.8 MB, free: 12.91 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.35247734375298] Failed to read output from testmodel.py, exit status != 0: ['time', 'basicTransformer.i1', 'basicTransformer.i2', 'inductor22.i'] 10.993095214944333 11.010362863 10.716571253 Calling exit ...