Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.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.0007742/0.0007742, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007896/0.0007896, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9377/0.9377, 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.02539/0.02539, allocations: 7.122 MB / 266.3 MB, free: 6.25 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.ChuasMemristor.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChuasMemristor.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 393 MB, free: 3.246 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.363e-05, allocations: 6.281 kB / 393 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.IdealCircuit): time 0.002129/0.002143, allocations: 1.955 MB / 394.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.002837, allocations: 0.522 MB / 395.5 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/0.002923, allocations: 4 kB / 395.5 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.00303, allocations: 19.78 kB / 395.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/0.003126, allocations: 67.42 kB / 395.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.003259, allocations: 35.95 kB / 395.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.003438, allocations: 206.8 kB / 395.8 MB, free: 428 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.003582, allocations: 53.95 kB / 395.8 MB, free: 376 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.003679, allocations: 107.8 kB / 396 MB, free: 268 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.003777, allocations: 63.8 kB / 396 MB, free: 204 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.003802, allocations: 16 kB / 396 MB, free: 188 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.003823, allocations: 16 kB / 396 MB, free: 172 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.00385, allocations: 39.83 kB / 396.1 MB, free: 132 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.0039, allocations: 63.84 kB / 396.1 MB, free: 68 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.004083, allocations: 199.3 kB / 396.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004085, allocations: 4 kB / 396.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004085, allocations: 0 / 396.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004089, allocations: 0 / 396.3 MB, free: 15.87 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000454/0.004543, allocations: 401.5 kB / 396.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.00458, allocations: 8.031 kB / 396.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.00462, allocations: 50.67 kB / 396.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.004655, allocations: 32.73 kB / 396.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.004836, allocations: 149.5 kB / 397 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.004849, allocations: 12.38 kB / 397 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.004876, allocations: 20.38 kB / 397 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.005079, allocations: 183.2 kB / 397.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005087, allocations: 3.984 kB / 397.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.005101, allocations: 8 kB / 397.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.005107, allocations: 4 kB / 397.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.005241, allocations: 103.7 kB / 397.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.005909, allocations: 0.5797 MB / 397.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.006135, allocations: 114.5 kB / 398 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.0063, allocations: 88.75 kB / 398.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.00631, allocations: 8 kB / 398.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.006332, allocations: 34.56 kB / 398.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.006333, allocations: 0 / 398.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002239/0.006557, allocations: 149.8 kB / 398.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.006583, allocations: 51.41 kB / 398.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.006674, allocations: 150 kB / 398.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.006686, allocations: 25.7 kB / 398.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.006743, allocations: 132.3 kB / 398.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.006771, allocations: 51.59 kB / 398.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.006807, allocations: 25.72 kB / 398.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.006886, allocations: 326.8 kB / 399 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.00694, allocations: 43.94 kB / 399.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.006997, allocations: 53.69 kB / 399.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.007099, allocations: 100.7 kB / 399.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007101, allocations: 0 / 399.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001432/0.007244, allocations: 137.6 kB / 399.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.007255, allocations: 4 kB / 399.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.00726, allocations: 0 / 399.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.00727, allocations: 4 kB / 399.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.007387, allocations: 55.94 kB / 399.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.007392, allocations: 0 / 399.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.007426, allocations: 15.83 kB / 399.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.007433, allocations: 4 kB / 399.4 MB, free: 12.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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 6.978e-05/0.007502, allocations: 129.8 kB / 399.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.007522, allocations: 11.91 kB / 399.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.007546, allocations: 24.7 kB / 399.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.007548, allocations: 0 / 399.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.007553, allocations: 0 / 399.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007556, allocations: 3.938 kB / 399.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.007896, allocations: 414.4 kB / 400 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007897, allocations: 0 / 400 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.008011, allocations: 47.92 kB / 400 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008013, allocations: 0 / 400 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008023, allocations: 3.938 kB / 400 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.008026, allocations: 3.984 kB / 400 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.008026, allocations: 4 kB / 400.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.008225, allocations: 263.4 kB / 400.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.008241, allocations: 19.92 kB / 400.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.008255, allocations: 7.969 kB / 400.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.00831, allocations: 4 kB / 400.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.008327, allocations: 11.98 kB / 400.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.008333, allocations: 8 kB / 400.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.008389, allocations: 113.8 kB / 400.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008389, allocations: 4 kB / 400.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.008559, allocations: 39.89 kB / 400.5 MB, free: 11.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (inductor.i,capacitor1.v,capacitor2.v,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 (13): * Single equations (assignments): 13 * 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.0003446/0.008904, allocations: 0.7874 MB / 401.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.009041, allocations: 99.03 kB / 401.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.009043, allocations: 0 / 401.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.009087, allocations: 51.97 kB / 401.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.009307, allocations: 16 kB / 401.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.01082, allocations: 1.914 MB / 403.4 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.01089, allocations: 116 kB / 403.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.158e-05/0.01093, allocations: 13.14 kB / 403.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.01099, allocations: 48.48 kB / 403.6 MB, free: 8.211 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01099, allocations: 112 / 403.6 MB, free: 8.211 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07456/0.08555, allocations: 3.709 MB / 407.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.086, allocations: 7.5 kB / 407.3 MB, free: 4.637 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 ../ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.072106881067157]