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.001197/0.001197, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001338/0.001338, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.429/1.429, allocations: 230.4 MB / 254.7 MB, free: 14.99 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.001858/0.001858, allocations: 71.88 kB / 373.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09887, allocations: 53.32 MB / 426.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005255/0.1041, allocations: 4.122 MB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2085/0.3126, allocations: 0.9544 MB / 432 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005057/0.3131, allocations: 12.25 kB / 432 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.3134, allocations: 90.98 kB / 432.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.3137, allocations: 189.2 kB / 432.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.3142, allocations: 158.5 kB / 432.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.3149, allocations: 0.6745 MB / 433.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.3151, allocations: 142.7 kB / 433.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.3155, allocations: 271.6 kB / 433.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3158, allocations: 295 kB / 433.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.266e-05/0.3159, allocations: 55.84 kB / 433.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.316, allocations: 58.59 kB / 433.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.3161, allocations: 133 kB / 434.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.3163, allocations: 304.4 kB / 434.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.3169, allocations: 0.6446 MB / 435 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3169, allocations: 0 / 435 MB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3169, allocations: 0 / 435 MB, free: 7.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.3169, allocations: 0.625 kB / 435 MB, free: 7.109 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.001364/0.3183, allocations: 0.8819 MB / 435.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3183, allocations: 13.03 kB / 435.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.3184, allocations: 113.8 kB / 436 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.3187, allocations: 92.75 kB / 436.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.3192, allocations: 382 kB / 436.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.3193, allocations: 41.77 kB / 436.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.3193, allocations: 55.89 kB / 436.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.3201, allocations: 0.4989 MB / 437.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3201, allocations: 0.75 kB / 437.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.3202, allocations: 22.38 kB / 437.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.3202, allocations: 13.31 kB / 437.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.3208, allocations: 346.8 kB / 437.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.3233, allocations: 1.717 MB / 439.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.3237, allocations: 243.9 kB / 439.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.324, allocations: 135.5 kB / 439.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.324, allocations: 6.078 kB / 439.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.324, allocations: 45.67 kB / 439.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.324, allocations: 0 / 439.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001685/0.3257, allocations: 0.9677 MB / 440.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.3257, allocations: 80.69 kB / 440.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.3261, allocations: 398.9 kB / 441 MB, free: 3.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3261, allocations: 32.39 kB / 441 MB, free: 3.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3263, allocations: 302.5 kB / 441.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.3264, allocations: 122 kB / 441.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3265, allocations: 75.98 kB / 441.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.3266, allocations: 347.8 kB / 441.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.3268, allocations: 100.2 kB / 442 MB, free: 3.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.327, allocations: 197.1 kB / 442.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.3274, allocations: 307 kB / 442.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3274, allocations: 1.469 kB / 442.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007549/0.3282, allocations: 456.8 kB / 442.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3282, allocations: 6.641 kB / 442.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3282, allocations: 2.781 kB / 442.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.3285, allocations: 81.5 kB / 443 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3289, allocations: 82.12 kB / 443.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.3312, allocations: 3.127 MB / 446.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.3316, allocations: 22.19 kB / 446.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3316, allocations: 12.42 kB / 446.2 MB, free: 15.34 MB / 366.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.0002482/0.3319, allocations: 163.8 kB / 446.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.332, allocations: 49.5 kB / 446.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.332, allocations: 45.64 kB / 446.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.332, allocations: 4.844 kB / 446.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.3321, allocations: 2.5 kB / 446.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3321, allocations: 1.547 kB / 446.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.3336, allocations: 0.9541 MB / 447.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3337, allocations: 5.625 kB / 447.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.3338, allocations: 41.47 kB / 447.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.3341, allocations: 82.61 kB / 447.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3342, allocations: 8.078 kB / 447.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.3369, allocations: 3.122 MB / 450.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3369, allocations: 0 / 450.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3379, allocations: 0.6307 MB / 451.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3381, allocations: 115.5 kB / 451.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.3382, allocations: 7.375 kB / 451.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.3385, allocations: 30.64 kB / 451.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.3386, allocations: 25.17 kB / 451.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.3386, allocations: 8.812 kB / 451.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.339, allocations: 276.4 kB / 451.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.339, allocations: 0 / 451.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006596/0.3397, allocations: 119.1 kB / 451.9 MB, free: 10.74 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.001291/0.3409, allocations: 1.171 MB / 453.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009511/0.3419, allocations: 0.4947 MB / 453.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3419, allocations: 2.047 kB / 453.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.3425, allocations: 386.7 kB / 453.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.343, allocations: 58.94 kB / 454 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.3491, allocations: 4.228 MB / 458.2 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.3497, allocations: 0.8464 MB / 459.1 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.3499, allocations: 49.61 kB / 459.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.3501, allocations: 174.2 kB / 459.3 MB, free: 5.715 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3501, allocations: 0 / 459.3 MB, free: 5.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/0.3981, allocations: 9.113 MB / 468.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.49, allocations: 8.219 kB / 468.4 MB, free: 2.422 MB / 366.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: 12.86555445427075] Failed to read output from testmodel.py, exit status != 0: ['time', 'basicTransformer.i1', 'basicTransformer.i2', 'inductor22.i'] 10.580093020107597 10.596755241 10.276550575 Calling exit ...