Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.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.0008807/0.0008807, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0009115/0.0009115, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.961/0.961, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.043/0.043, allocations: 7.122 MB / 266.3 MB, free: 6.254 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.MemristorTestSpike,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.MemristorTestSpike,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 393 MB, free: 3.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.5e-05, allocations: 2.281 kB / 393 MB, free: 3.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.003788/0.003813, allocations: 1.955 MB / 395 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.005107, allocations: 0.518 MB / 395.5 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.005212, allocations: 0 / 395.5 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.155e-05/0.005274, allocations: 19.78 kB / 395.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.005445, allocations: 47.59 kB / 395.5 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.005749, allocations: 47.92 kB / 395.6 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.006067, allocations: 187.2 kB / 395.8 MB, free: 440 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.006248, allocations: 25.61 kB / 395.8 MB, free: 412 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.006536, allocations: 99.78 kB / 395.9 MB, free: 312 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.006678, allocations: 63.8 kB / 396 MB, free: 248 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.006727, allocations: 16 kB / 396 MB, free: 232 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-05/0.006762, allocations: 16 kB / 396 MB, free: 216 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.006816, allocations: 39.83 kB / 396 MB, free: 176 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.006912, allocations: 47.92 kB / 396.1 MB, free: 128 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.007205, allocations: 187.4 kB / 396.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.007209, allocations: 3.938 kB / 396.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.007211, allocations: 0 / 396.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.007218, allocations: 0 / 396.3 MB, free: 15.94 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008961/0.008114, allocations: 427.5 kB / 396.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.008168, allocations: 8.031 kB / 396.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.008227, allocations: 50.67 kB / 396.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.008285, allocations: 20.84 kB / 396.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.008447, allocations: 133.6 kB / 396.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.008469, allocations: 12.55 kB / 396.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.008507, allocations: 12.36 kB / 396.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.008854, allocations: 141.5 kB / 397 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.008862, allocations: 0 / 397 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.008877, allocations: 4 kB / 397 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.008882, allocations: 4 kB / 397.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.009149, allocations: 131.9 kB / 397.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.009773, allocations: 450.8 kB / 397.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.01005, allocations: 138.4 kB / 397.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.01017, allocations: 60.8 kB / 397.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.01019, allocations: 0 / 397.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.01048, allocations: 123.2 kB / 397.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.01048, allocations: 4 kB / 397.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004742/0.01095, allocations: 209.6 kB / 398.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.01099, allocations: 63.33 kB / 398.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.01112, allocations: 175.2 kB / 398.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.01114, allocations: 25.7 kB / 398.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.0112, allocations: 120 kB / 398.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.01122, allocations: 31.78 kB / 398.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.01127, allocations: 25.67 kB / 398.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.01135, allocations: 326.8 kB / 398.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.0115, allocations: 89.64 kB / 399 MB, free: 13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.01164, allocations: 120.2 kB / 399.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.01189, allocations: 168.2 kB / 399.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.0119, allocations: 0 / 399.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003749/0.01227, allocations: 260.8 kB / 399.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.0123, allocations: 33.7 kB / 399.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01231, allocations: 0 / 399.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.01232, allocations: 0 / 399.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.01244, allocations: 31.91 kB / 399.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01245, allocations: 0 / 399.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.01254, allocations: 27.92 kB / 399.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.01255, allocations: 4 kB / 399.6 MB, free: 12.31 MB / 330.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: 5 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 8.586e-05/0.01263, allocations: 129.8 kB / 399.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.01265, allocations: 11.95 kB / 399.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.01267, allocations: 17.45 kB / 399.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01268, allocations: 4 kB / 399.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.01268, allocations: 3.938 kB / 399.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.01269, allocations: 96 / 399.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.01282, allocations: 192.5 kB / 400 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01282, allocations: 0 / 400 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.01291, allocations: 27.97 kB / 400 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01292, allocations: 4 kB / 400 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01293, allocations: 4 kB / 400 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01293, allocations: 0 / 400 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01293, allocations: 3.938 kB / 400 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.0134, allocations: 265.1 kB / 400.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.01345, allocations: 27.97 kB / 400.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.01347, allocations: 4 kB / 400.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.01354, allocations: 19.97 kB / 400.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.01361, allocations: 15.92 kB / 400.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01362, allocations: 0 / 400.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.01369, allocations: 131.9 kB / 400.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01369, allocations: 0 / 400.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.01386, allocations: 28 kB / 400.5 MB, free: 11.36 MB / 330.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: 3 ($whenCondition1,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006286/0.01449, allocations: 0.7958 MB / 401.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.01483, allocations: 217 kB / 401.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01484, allocations: 8.125 kB / 401.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.01498, allocations: 71.88 kB / 401.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01517, allocations: 27.05 kB / 401.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.0173, allocations: 2.063 MB / 403.7 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.004e-05/0.01736, allocations: 94.47 kB / 403.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.01741, allocations: 8.969 kB / 403.8 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.01748, allocations: 48.42 kB / 403.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01748, allocations: 0 / 403.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07842/0.0959, allocations: 4.449 MB / 408.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.24, allocations: 4.75 kB / 408.3 MB, free: 3.547 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike.fmu) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike.fmu) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.594136011786759]