Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestEMF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007773/0.0007773, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 169.9 kB / 22.46 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9516/0.9516, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.03471/0.03471, allocations: 7.121 MB / 266.3 MB, free: 6.258 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ChaoticCircuits.Test.TestEMF,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestEMF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestEMF,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestEMF",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 4 kB / 393 MB, free: 3.238 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.259e-05, allocations: 2.281 kB / 393 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.003091/0.003113, allocations: 2.013 MB / 395 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.003485, allocations: 103.6 kB / 395.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.00357, allocations: 4 kB / 395.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.709e-05/0.003628, allocations: 15.84 kB / 395.1 MB, free: 1.082 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.003821, allocations: 43.64 kB / 395.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.095e-05/0.003892, allocations: 27.95 kB / 395.2 MB, free: 1.012 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.004031, allocations: 127.3 kB / 395.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.004174, allocations: 41.22 kB / 395.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.00429, allocations: 71.81 kB / 395.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.004375, allocations: 39.89 kB / 395.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.0044, allocations: 12 kB / 395.5 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.004421, allocations: 15.94 kB / 395.5 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.004449, allocations: 19.92 kB / 395.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.004499, allocations: 43.84 kB / 395.6 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.004695, allocations: 135.6 kB / 395.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004698, allocations: 0 / 395.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004699, allocations: 0 / 395.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.004704, allocations: 0 / 395.7 MB, free: 0.5156 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005081/0.005212, allocations: 353.8 kB / 396 MB, free: 144 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.005252, allocations: 12.03 kB / 396.1 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.005304, allocations: 50.72 kB / 396.1 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.005339, allocations: 12.84 kB / 396.1 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.005542, allocations: 141.6 kB / 396.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.00556, allocations: 12.38 kB / 396.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.005589, allocations: 16.31 kB / 396.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.005823, allocations: 118.9 kB / 396.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.005836, allocations: 4.125 kB / 396.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.005854, allocations: 11.94 kB / 396.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.00586, allocations: 0 / 396.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.006027, allocations: 87.95 kB / 396.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.006648, allocations: 438.6 kB / 396.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.006798, allocations: 70.48 kB / 397 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.006858, allocations: 24.84 kB / 397 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.006867, allocations: 0 / 397 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.006888, allocations: 42.5 kB / 397.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.006889, allocations: 0 / 397.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002775/0.007166, allocations: 113.6 kB / 397.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.007196, allocations: 55.41 kB / 397.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.007296, allocations: 132.7 kB / 397.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.007309, allocations: 29.7 kB / 397.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.00737, allocations: 120 kB / 397.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.007396, allocations: 35.72 kB / 397.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.00744, allocations: 21.72 kB / 397.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.007531, allocations: 322.8 kB / 397.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.007597, allocations: 23.98 kB / 397.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.007679, allocations: 72.2 kB / 398 MB, free: 14.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.007815, allocations: 92.2 kB / 398.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.007818, allocations: 0 / 398.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001949/0.008012, allocations: 125.9 kB / 398.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.008027, allocations: 8 kB / 398.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.008032, allocations: 0 / 398.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.008046, allocations: 0 / 398.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.008161, allocations: 31.92 kB / 398.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008167, allocations: 80 / 398.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.008216, allocations: 7.938 kB / 398.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.008225, allocations: 15.92 kB / 398.3 MB, free: 13.74 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 12 * 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 7.971e-05/0.008305, allocations: 121.8 kB / 398.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.008334, allocations: 15.91 kB / 398.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.00837, allocations: 16.44 kB / 398.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.008372, allocations: 0 / 398.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.008377, allocations: 4 kB / 398.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008381, allocations: 0 / 398.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.008569, allocations: 176.6 kB / 398.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.008571, allocations: 0 / 398.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.008666, allocations: 19.98 kB / 398.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008669, allocations: 0 / 398.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.008678, allocations: 7.938 kB / 398.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.008681, allocations: 4 kB / 398.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008682, allocations: 4 kB / 398.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.008944, allocations: 219.4 kB / 398.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.008957, allocations: 3.953 kB / 398.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.008975, allocations: 8 kB / 398.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.009035, allocations: 3.984 kB / 398.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.009078, allocations: 11.97 kB / 398.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.009082, allocations: 0 / 398.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.428e-05/0.009137, allocations: 103.3 kB / 399 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009137, allocations: 4.062 kB / 399 MB, free: 12.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.009399, allocations: 31.89 kB / 399 MB, free: 12.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (emf.phi,inertia.w) * 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0007048/0.0101, allocations: 0.7477 MB / 399.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.01028, allocations: 67.89 kB / 399.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01028, allocations: 0 / 399.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.01033, allocations: 28.3 kB / 399.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.01068, allocations: 23.22 kB / 399.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.01243, allocations: 1.67 MB / 401.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.0125, allocations: 93.31 kB / 401.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.01254, allocations: 12.42 kB / 401.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.0126, allocations: 32.48 kB / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0126, allocations: 0 / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0871/0.0997, allocations: 2.846 MB / 404.5 MB, free: 7.375 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.185, allocations: 15 kB / 404.5 MB, free: 7.363 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestEMF_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestEMF.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestEMF.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.471259063109756]