Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic",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.0008434/0.0008434, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008444/0.0008444, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006681/0.006681, allocations: 1.217 MB / 292.2 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 12 kB / 353.4 MB, free: 2.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2183, allocations: 50.68 MB / 404.1 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.001426/0.2198, allocations: 0.9388 MB / 405.1 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.2207, allocations: 0.5998 MB / 405.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.2208, allocations: 0 / 405.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.221, allocations: 22.98 kB / 405.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.2212, allocations: 62.59 kB / 405.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.625e-06/0.2212, allocations: 1.156 kB / 405.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.671e-05/0.2213, allocations: 14.28 kB / 405.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.2213, allocations: 7.188 kB / 405.8 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.2214, allocations: 12.84 kB / 405.8 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.2215, allocations: 15.44 kB / 405.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.2215, allocations: 1.406 kB / 405.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.2217, allocations: 128.3 kB / 405.9 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.2218, allocations: 8.328 kB / 405.9 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.2218, allocations: 27.89 kB / 406 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2219, allocations: 64.91 kB / 406 MB, free: 9.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.2219, allocations: 4 kB / 406 MB, free: 9.434 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.222, allocations: 0 / 406 MB, free: 9.434 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.222, allocations: 1.062 kB / 406 MB, free: 9.434 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002471/0.2222, allocations: 359.8 kB / 406.4 MB, free: 9.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2223, allocations: 13.41 kB / 406.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.224e-05/0.2223, allocations: 31.91 kB / 406.4 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.2223, allocations: 6.844 kB / 406.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2225, allocations: 179.8 kB / 406.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.2225, allocations: 1.469 kB / 406.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.2225, allocations: 10.34 kB / 406.6 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.167e-05/0.2226, allocations: 49.77 kB / 406.7 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2226, allocations: 0 / 406.7 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2226, allocations: 3.953 kB / 406.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2226, allocations: 4.875 kB / 406.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.2227, allocations: 29.38 kB / 406.7 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.2228, allocations: 169.1 kB / 406.9 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.2231, allocations: 76.77 kB / 406.9 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.2231, allocations: 12.67 kB / 407 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.2231, allocations: 32.42 kB / 407 MB, free: 8.473 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2231, allocations: 0 / 407 MB, free: 8.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.002005/0.2252, allocations: 0.608 MB / 407.6 MB, free: 8.305 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.2252, allocations: 53.69 kB / 407.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.2253, allocations: 122 kB / 407.8 MB, free: 8.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2253, allocations: 27.17 kB / 407.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.2253, allocations: 90.61 kB / 407.9 MB, free: 8.016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.2254, allocations: 16.91 kB / 407.9 MB, free: 8.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.2254, allocations: 0 / 407.9 MB, free: 8.004 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.2254, allocations: 319.5 kB / 408.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2257, allocations: 152.4 kB / 408.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.2259, allocations: 160.5 kB / 408.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.2261, allocations: 152 kB / 408.7 MB, free: 7.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2261, allocations: 0.5156 kB / 408.7 MB, free: 7.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005327/0.2267, allocations: 372.1 kB / 409 MB, free: 7.473 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2267, allocations: 10.31 kB / 409 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2267, allocations: 1.531 kB / 409 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2267, allocations: 0 / 409 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.2269, allocations: 31.75 kB / 409.1 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2269, allocations: 4.891 kB / 409.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2271, allocations: 4.016 kB / 409.1 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.2271, allocations: 30.62 kB / 409.1 MB, free: 7.461 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.2272, allocations: 120.3 kB / 409.2 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.2272, allocations: 2.672 kB / 409.2 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.2277, allocations: 293 kB / 409.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2277, allocations: 0.6094 kB / 409.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2277, allocations: 0 / 409.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2277, allocations: 4.891 kB / 409.5 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.2286, allocations: 0.5825 MB / 410.1 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2286, allocations: 1.734 kB / 410.1 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2288, allocations: 24.09 kB / 410.1 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2288, allocations: 1.406 kB / 410.1 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.2288, allocations: 15.31 kB / 410.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2288, allocations: 0.6875 kB / 410.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2288, allocations: 5.406 kB / 410.2 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2292, allocations: 343 kB / 410.5 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.2292, allocations: 83.48 kB / 410.6 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.2292, allocations: 6.5 kB / 410.6 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2294, allocations: 12.34 kB / 410.6 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.2294, allocations: 9.484 kB / 410.6 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.2295, allocations: 15.02 kB / 410.6 MB, free: 6.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.707e-05/0.2295, allocations: 102.1 kB / 410.7 MB, free: 6.434 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2295, allocations: 0 / 410.7 MB, free: 6.434 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.2298, allocations: 26.3 kB / 410.7 MB, free: 6.43 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($cse1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005556/0.2304, allocations: 0.9405 MB / 411.7 MB, free: 5.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.2307, allocations: 212.8 kB / 411.9 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2307, allocations: 0 / 411.9 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.2308, allocations: 88.77 kB / 412 MB, free: 5.574 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.231, allocations: 6.172 kB / 412 MB, free: 5.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.2323, allocations: 1.074 MB / 413.1 MB, free: 5.047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2324, allocations: 0.6973 MB / 413.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.494e-05/0.2325, allocations: 26.28 kB / 413.8 MB, free: 4.332 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.2326, allocations: 27.77 kB / 413.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2326, allocations: 0 / 413.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.2456, allocations: 3.003 MB / 416.8 MB, free: 4.066 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001224/0.2457, allocations: 221.8 kB / 417 MB, free: 3.828 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.746, allocations: 2.531 kB / 417 MB, free: 3.828 MB / 286.1 MB (rm -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) Environment - environmentSimulation: