Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.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.0009975/0.0009975, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.0009556/0.0009556, allocations: 165 kB / 24.22 MB, free: 240 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 1.047/1.047, allocations: 177.1 MB / 204.7 MB, free: 5.121 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.02572/0.02572, allocations: 7.117 MB / 268.3 MB, free: 5.789 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.MemristorTestSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine") translateModel(ChaoticCircuits.Test.MemristorTestSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 287.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.905e-05, allocations: 2.312 kB / 287.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002401/0.00242, allocations: 2.002 MB / 289.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.003111, allocations: 0.5258 MB / 289.8 MB, free: 252 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.003178, allocations: 0 / 289.8 MB, free: 252 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.466e-05/0.003233, allocations: 19.8 kB / 289.8 MB, free: 232 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.003334, allocations: 23.78 kB / 289.8 MB, free: 208 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.003512, allocations: 55.75 kB / 289.9 MB, free: 152 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.003644, allocations: 123.4 kB / 290 MB, free: 28 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.003737, allocations: 21.95 kB / 290 MB, free: 8 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1206/0.1244, allocations: 68.08 kB / 290.1 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1245, allocations: 42.28 kB / 290.1 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1245, allocations: 9.781 kB / 290.1 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.1246, allocations: 13.89 kB / 290.1 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.1246, allocations: 26.14 kB / 290.2 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1246, allocations: 39.56 kB / 290.2 MB, free: 19.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1248, allocations: 80.84 kB / 290.3 MB, free: 19.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1248, allocations: 1.188 kB / 290.3 MB, free: 19.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1248, allocations: 0 / 290.3 MB, free: 19.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1248, allocations: 1.656 kB / 290.3 MB, free: 19.4 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004182/0.1252, allocations: 324.1 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1253, allocations: 10.75 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1254, allocations: 23.7 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1255, allocations: 129.1 kB / 290.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1255, allocations: 6.25 kB / 290.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1256, allocations: 11.31 kB / 290.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.1257, allocations: 84.23 kB / 290.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1257, allocations: 0 / 290.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1257, allocations: 8.031 kB / 290.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1257, allocations: 4.375 kB / 290.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.317e-05/0.1258, allocations: 29.17 kB / 290.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.1261, allocations: 277.1 kB / 291.2 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.132e-05/0.1262, allocations: 42.77 kB / 291.2 MB, free: 18.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.1262, allocations: 16.67 kB / 291.2 MB, free: 18.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.1263, allocations: 2.75 kB / 291.2 MB, free: 18.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1263, allocations: 32.91 kB / 291.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1263, allocations: 0.8125 kB / 291.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001443/0.1264, allocations: 60.16 kB / 291.3 MB, free: 18.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.1264, allocations: 54.62 kB / 291.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.1265, allocations: 139.1 kB / 291.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.1265, allocations: 27.05 kB / 291.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.1266, allocations: 113.3 kB / 291.7 MB, free: 18.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.1266, allocations: 25.3 kB / 291.7 MB, free: 18.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1266, allocations: 23.83 kB / 291.7 MB, free: 18.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.183e-05/0.1266, allocations: 323.2 kB / 292 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.1267, allocations: 9.734 kB / 292 MB, free: 18.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.1267, allocations: 29.05 kB / 292.1 MB, free: 17.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.1267, allocations: 42.48 kB / 292.1 MB, free: 17.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1267, allocations: 3.156 kB / 292.1 MB, free: 17.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.265e-05/0.1268, allocations: 70.3 kB / 292.2 MB, free: 17.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1268, allocations: 5.812 kB / 292.2 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1269, allocations: 3.094 kB / 292.2 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1269, allocations: 1.984 kB / 292.2 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.127, allocations: 21.02 kB / 292.2 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.127, allocations: 1.703 kB / 292.2 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.127, allocations: 10.23 kB / 292.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.127, allocations: 6.094 kB / 292.2 MB, free: 17.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 4.477e-05/0.1271, allocations: 111.5 kB / 292.3 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.1271, allocations: 11.06 kB / 292.3 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.1271, allocations: 15.66 kB / 292.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1271, allocations: 3.984 kB / 292.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1271, allocations: 0 / 292.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1271, allocations: 2.453 kB / 292.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1273, allocations: 92.11 kB / 292.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1273, allocations: 0.8906 kB / 292.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.1273, allocations: 15.69 kB / 292.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1273, allocations: 0.5156 kB / 292.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.1274, allocations: 2.25 kB / 292.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1274, allocations: 4.781 kB / 292.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1274, allocations: 2.125 kB / 292.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1275, allocations: 168.6 kB / 292.6 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.1275, allocations: 13.44 kB / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1275, allocations: 0 / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.1276, allocations: 5.984 kB / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.1276, allocations: 10.69 kB / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1276, allocations: 2 kB / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.1276, allocations: 25.41 kB / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1276, allocations: 0 / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.1278, allocations: 23.73 kB / 292.7 MB, free: 17.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (memristor.x) * 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 (6): * Single equations (assignments): 6 * 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 7.096e-05/0.1279, allocations: 74.48 kB / 292.8 MB, free: 17.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.128, allocations: 36.69 kB / 292.8 MB, free: 17.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.128, allocations: 1.938 kB / 292.8 MB, free: 17.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.128, allocations: 25.78 kB / 292.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.1282, allocations: 17.03 kB / 292.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.1287, allocations: 244 kB / 293.1 MB, free: 17.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.1288, allocations: 64.5 kB / 293.2 MB, free: 17.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.921e-05/0.1288, allocations: 13.69 kB / 293.2 MB, free: 17.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.1289, allocations: 57.72 kB / 293.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1289, allocations: 2.297 kB / 293.2 MB, free: 17.21 MB / 266.7 MB Notification: Performance of Templates: time 0.00303/0.1319, allocations: 0.873 MB / 294.1 MB, free: 17.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.sim & ./ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6850589588284492]