Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.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.0006819/0.0006819, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001692, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0006704/0.0006704, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008376/0.001508, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.9424/0.9424, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09878/1.041, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.02488/0.02488, allocations: 7.112 MB / 251.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004034/0.02891, allocations: 2.837 MB / 253.9 MB, free: 5.035 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.ChuasMemristor.ImprovedCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit") translateModel(ChaoticCircuits.ChuasMemristor.ImprovedCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 255.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.726e-06/9.878e-06, allocations: 2.312 kB / 255.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.004308/0.004318, allocations: 5.685 MB / 260.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.006726, allocations: 1.562 MB / 262.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.007041, allocations: 27.88 kB / 262.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.007296, allocations: 202 kB / 262.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.00767, allocations: 313.2 kB / 263 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.008088, allocations: 395.5 kB / 263.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008196/0.008907, allocations: 1.426 MB / 264.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.009362, allocations: 0.4924 MB / 265.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005586/0.009921, allocations: 0.8667 MB / 266.1 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.01029, allocations: 454.7 kB / 266.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.01042, allocations: 172 kB / 266.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.01054, allocations: 172 kB / 266.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.01068, allocations: 247.4 kB / 267.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.01095, allocations: 387.3 kB / 267.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.01157, allocations: 0.8837 MB / 268.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.01158, allocations: 0 / 268.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01158, allocations: 0 / 268.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.0116, allocations: 0 / 268.4 MB, free: 6.43 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.001241/0.01284, allocations: 1.524 MB / 269.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.926e-05/0.01286, allocations: 16.58 kB / 270 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.01299, allocations: 176.8 kB / 270.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.01337, allocations: 403 kB / 270.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.01341, allocations: 78.55 kB / 270.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.01349, allocations: 124.3 kB / 270.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/0.01423, allocations: 1.196 MB / 271.9 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.01424, allocations: 7.938 kB / 271.9 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.01428, allocations: 44 kB / 272 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.0143, allocations: 28 kB / 272 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.01461, allocations: 274.4 kB / 272.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1124/0.127, allocations: 2.933 MB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.1275, allocations: 343.3 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.1277, allocations: 167.7 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1277, allocations: 13.73 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1277, allocations: 44.27 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.425e-06/0.1277, allocations: 1.125 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.0006717/0.1284, allocations: 432.9 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.1284, allocations: 60.53 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1287, allocations: 465.8 kB / 276.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1287, allocations: 38.52 kB / 276.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1289, allocations: 479.3 kB / 277.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/0.129, allocations: 220.2 kB / 277.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.1291, allocations: 162.3 kB / 277.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.1292, allocations: 384.4 kB / 277.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1293, allocations: 75.64 kB / 278 MB, free: 13.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.1295, allocations: 0.6078 MB / 278.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.1299, allocations: 460 kB / 279.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1299, allocations: 4.016 kB / 279.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008146/0.1307, allocations: 0.6207 MB / 279.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1307, allocations: 10.19 kB / 279.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1307, allocations: 7.141 kB / 279.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007733/0.1315, allocations: 337 kB / 280 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.1319, allocations: 187.1 kB / 280.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.1345, allocations: 5.551 MB / 285.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.1348, allocations: 108.7 kB / 285.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.1349, allocations: 29.2 kB / 285.9 MB, free: 7.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (memristor.opAmp2.limiter.satNeg,memristor.opAmp2.limiter.satPos,memristor.multiplier2.limiter2.satNeg,memristor.multiplier2.limiter2.satPos,memristor.multiplier2.limiter1.satNeg,memristor.multiplier2.limiter1.satPos,memristor.multiplier1.limiter2.satNeg,memristor.multiplier1.limiter2.satPos,memristor.multiplier1.limiter1.satNeg,memristor.multiplier1.limiter1.satPos,memristor.opAmp1.limiter.satNeg,memristor.opAmp1.limiter.satPos,memristor.opAmp1_1.limiter.satNeg,memristor.opAmp1_1.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.135, allocations: 186.4 kB / 286.1 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.1351, allocations: 69.77 kB / 286.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.1351, allocations: 70.41 kB / 286.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1351, allocations: 6.781 kB / 286.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.1352, allocations: 1.094 kB / 286.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.1352, allocations: 3.469 kB / 286.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009873/0.1361, allocations: 0.8466 MB / 287.1 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1362, allocations: 6.078 kB / 287.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.1365, allocations: 137.1 kB / 287.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.1365, allocations: 63.02 kB / 287.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.1367, allocations: 78.25 kB / 287.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.1367, allocations: 13.64 kB / 287.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007587/0.1375, allocations: 2.59 MB / 290 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1375, allocations: 1.312 kB / 290 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.138, allocations: 0.534 MB / 290.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.138, allocations: 25.66 kB / 290.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1382, allocations: 68.25 kB / 290.6 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.1383, allocations: 55.22 kB / 290.7 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.1384, allocations: 14.94 kB / 290.7 MB, free: 4.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.1385, allocations: 189.3 kB / 290.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1385, allocations: 0 / 290.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005893/0.1391, allocations: 286 kB / 291.1 MB, free: 4.652 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (inductor.i,capacitor1.v,capacitor2.v,memristor.opAmp1_1.firstOrder.y,memristor.opAmp1.firstOrder.y,memristor.capacitor.v,memristor.opAmp2.firstOrder.y) * Number of discrete variables: 14 (memristor.opAmp1_1.limiter.satPos,memristor.opAmp1_1.limiter.satNeg,memristor.opAmp1.limiter.satPos,memristor.opAmp1.limiter.satNeg,memristor.multiplier1.limiter1.satPos,memristor.multiplier1.limiter1.satNeg,memristor.multiplier1.limiter2.satPos,memristor.multiplier1.limiter2.satNeg,memristor.multiplier2.limiter1.satPos,memristor.multiplier2.limiter1.satNeg,memristor.multiplier2.limiter2.satPos,memristor.multiplier2.limiter2.satNeg,memristor.opAmp2.limiter.satPos,memristor.opAmp2.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 55 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.618e-05/0.1392, allocations: 120.3 kB / 291.2 MB, free: 4.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006052/0.1398, allocations: 0.8446 MB / 292.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/0.1398, allocations: 16.81 kB / 292.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.1401, allocations: 408.3 kB / 292.5 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1404, allocations: 196.5 kB / 292.7 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.1442, allocations: 1.556 MB / 294.3 MB, free: 3.039 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.1443, allocations: 180.2 kB / 294.4 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.1445, allocations: 86.83 kB / 294.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.1448, allocations: 220 kB / 294.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1448, allocations: 3.062 kB / 294.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of Templates: time 0.0136/0.1584, allocations: 12.58 MB / 307.3 MB, free: 9.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.sim & ./ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.257878911681473]