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.0009049/0.0009049, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009555/0.0009555, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9882/0.9882, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.0356/0.0356, allocations: 7.114 MB / 268.1 MB, free: 5.902 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: translateModel(ChaoticCircuits.Test.TestEMF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestEMF") translateModel(ChaoticCircuits.Test.TestEMF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestEMF") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 339.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.193e-05, allocations: 5.125 kB / 339.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.002685/0.002697, allocations: 2.091 MB / 341.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.002961, allocations: 103.6 kB / 341.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.003038, allocations: 4 kB / 341.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.441e-05/0.003092, allocations: 15.8 kB / 341.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.003262, allocations: 47.64 kB / 341.7 MB, free: 8.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.004e-05/0.003332, allocations: 19.97 kB / 341.8 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.003456, allocations: 139.3 kB / 341.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.00357, allocations: 37.16 kB / 341.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.003673, allocations: 71.88 kB / 342 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.003752, allocations: 47.81 kB / 342 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.003778, allocations: 12 kB / 342.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.003797, allocations: 12 kB / 342.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.00382, allocations: 19.92 kB / 342.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.003859, allocations: 47.84 kB / 342.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.003995, allocations: 83.73 kB / 342.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003997, allocations: 0 / 342.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.003997, allocations: 0 / 342.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.004, allocations: 0 / 342.2 MB, free: 7.645 MB / 266.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.0003471/0.004347, allocations: 456 kB / 342.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.004377, allocations: 8.031 kB / 342.7 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.004416, allocations: 24.78 kB / 342.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.004521, allocations: 136.5 kB / 342.8 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.004534, allocations: 8.375 kB / 342.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.004556, allocations: 16.38 kB / 342.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.004699, allocations: 107.6 kB / 343 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.004712, allocations: 4.172 kB / 343 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.004723, allocations: 8.125 kB / 343 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.00473, allocations: 4 kB / 343 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.004789, allocations: 31.97 kB / 343 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.005219, allocations: 431 kB / 343.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.005305, allocations: 58.97 kB / 343.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.005328, allocations: 15.69 kB / 343.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.005335, allocations: 3.984 kB / 343.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.005351, allocations: 37.39 kB / 343.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.005352, allocations: 3.938 kB / 343.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001435/0.005495, allocations: 77.5 kB / 343.6 MB, free: 6.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/0.005511, allocations: 55.41 kB / 343.7 MB, free: 6.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.005576, allocations: 185.3 kB / 343.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.005582, allocations: 25.7 kB / 343.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.005631, allocations: 180.9 kB / 344.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.005647, allocations: 23.75 kB / 344.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.005685, allocations: 39.34 kB / 344.1 MB, free: 5.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.005738, allocations: 0.4884 MB / 344.6 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.005757, allocations: 7.984 kB / 344.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/0.005791, allocations: 58.41 kB / 344.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.005855, allocations: 70.38 kB / 344.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005857, allocations: 0 / 344.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001047/0.005961, allocations: 101.5 kB / 344.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.005976, allocations: 11.94 kB / 344.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00598, allocations: 0 / 344.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.005993, allocations: 4 kB / 344.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.00609, allocations: 27.92 kB / 344.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006092, allocations: 0 / 344.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.006136, allocations: 4 kB / 344.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.006143, allocations: 4 kB / 344.9 MB, free: 4.734 MB / 266.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 5.135e-05/0.006194, allocations: 156.7 kB / 345 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.006221, allocations: 15.95 kB / 345.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.006252, allocations: 20.36 kB / 345.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.006254, allocations: 4 kB / 345.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006256, allocations: 0 / 345.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006259, allocations: 0 / 345.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.006394, allocations: 125.2 kB / 345.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006396, allocations: 0 / 345.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.094e-05/0.006476, allocations: 23.86 kB / 345.2 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006479, allocations: 4 kB / 345.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.006485, allocations: 0 / 345.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006486, allocations: 4 kB / 345.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.006488, allocations: 3.938 kB / 345.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.006619, allocations: 223.9 kB / 345.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.006632, allocations: 11.89 kB / 345.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.006644, allocations: 0 / 345.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.006707, allocations: 0 / 345.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.00674, allocations: 15.92 kB / 345.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.006743, allocations: 0 / 345.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.241e-05/0.006775, allocations: 139.1 kB / 345.6 MB, free: 3.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006776, allocations: 0 / 345.6 MB, free: 3.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.00705, allocations: 27.89 kB / 345.6 MB, free: 3.918 MB / 266.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 6.027e-05/0.00711, allocations: 103.3 kB / 345.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.821e-05/0.007198, allocations: 43.59 kB / 345.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.0072, allocations: 0 / 345.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.007227, allocations: 23.67 kB / 345.8 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.007509, allocations: 8 kB / 345.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.008111, allocations: 356.4 kB / 346.2 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.298e-05/0.008164, allocations: 93.23 kB / 346.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.00822, allocations: 78.2 kB / 346.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of SimCode: time 6.12e-07/0.00822, allocations: 0 / 346.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of Templates: time 0.001409/0.00963, allocations: 1.331 MB / 347.7 MB, free: 1.828 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.makefile [Timeout 660] (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 & ./ChaoticCircuits_ChaoticCircuits.Test.TestEMF > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.464772874955088]