Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.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.001179/0.001179, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001074/0.001074, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9467/0.9467, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.03376/0.03376, allocations: 7.122 MB / 266.3 MB, free: 6.262 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.AnalyticEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasMemristor_AnalyticEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChuasMemristor.AnalyticEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasMemristor_AnalyticEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 393 MB, free: 3.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.555e-05, allocations: 2.281 kB / 393 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.AnalyticEquations): time 0.001562/0.001578, allocations: 1.297 MB / 394.3 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.001728, allocations: 31.88 kB / 394.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.001761, allocations: 0 / 394.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.001779, allocations: 7.922 kB / 394.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.001836, allocations: 11.92 kB / 394.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.408e-05/0.00193, allocations: 11.98 kB / 394.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.00199, allocations: 35.73 kB / 394.4 MB, free: 1.863 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.002031, allocations: 8 kB / 394.4 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.002082, allocations: 23.89 kB / 394.4 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.002151, allocations: 15.92 kB / 394.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.002166, allocations: 0 / 394.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.002174, allocations: 0 / 394.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.002189, allocations: 8 kB / 394.4 MB, free: 1.809 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.002209, allocations: 4 kB / 394.4 MB, free: 1.805 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.453e-05/0.002273, allocations: 31.83 kB / 394.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002275, allocations: 4 kB / 394.5 MB, free: 1.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002276, allocations: 3.938 kB / 394.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.002279, allocations: 0 / 394.5 MB, free: 1.766 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003278/0.002607, allocations: 274.3 kB / 394.7 MB, free: 1.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.002644, allocations: 8.031 kB / 394.8 MB, free: 1.457 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.002673, allocations: 30.75 kB / 394.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.002696, allocations: 8.891 kB / 394.8 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.353e-05/0.002769, allocations: 109.7 kB / 394.9 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.002777, allocations: 4.375 kB / 394.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.002797, allocations: 8.375 kB / 394.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/0.002889, allocations: 46.23 kB / 395 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.0029, allocations: 4.141 kB / 395 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.002907, allocations: 384 / 395 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.002912, allocations: 4.125 kB / 395 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.002952, allocations: 19.92 kB / 395 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.003083, allocations: 136.8 kB / 395.1 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.003321, allocations: 74.55 kB / 395.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.003351, allocations: 12.98 kB / 395.2 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.00336, allocations: 8 kB / 395.2 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.003375, allocations: 30.56 kB / 395.2 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.003377, allocations: 0 / 395.2 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001489/0.003526, allocations: 77.61 kB / 395.3 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.003552, allocations: 59.34 kB / 395.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.003607, allocations: 101.8 kB / 395.5 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.003619, allocations: 33.64 kB / 395.5 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.00365, allocations: 80.14 kB / 395.6 MB, free: 496 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.003679, allocations: 19.86 kB / 395.6 MB, free: 476 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.003712, allocations: 25.7 kB / 395.6 MB, free: 444 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.003785, allocations: 318.8 kB / 395.9 MB, free: 116 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.003812, allocations: 15.98 kB / 396 MB, free: 100 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.003833, allocations: 15.94 kB / 396 MB, free: 84 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/0.003888, allocations: 40.98 kB / 396 MB, free: 40 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.00389, allocations: 0 / 396 MB, free: 40 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.779e-05/0.003988, allocations: 85.66 kB / 396.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.004, allocations: 4 kB / 396.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.004003, allocations: 0 / 396.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.004014, allocations: 0 / 396.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.004088, allocations: 23.92 kB / 396.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.004093, allocations: 4 kB / 396.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.004112, allocations: 7.938 kB / 396.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.004117, allocations: 0 / 396.1 MB, free: 15.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 5.251e-05/0.004169, allocations: 117.8 kB / 396.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.004178, allocations: 7.953 kB / 396.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.004201, allocations: 8.125 kB / 396.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.004203, allocations: 3.984 kB / 396.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.004208, allocations: 7.875 kB / 396.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.00421, allocations: 0 / 396.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.09e-05/0.004291, allocations: 140.7 kB / 396.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004292, allocations: 0 / 396.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.004374, allocations: 23.98 kB / 396.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.004376, allocations: 0 / 396.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.004384, allocations: 4 kB / 396.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004385, allocations: 0 / 396.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.004387, allocations: 3.938 kB / 396.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.004518, allocations: 109.3 kB / 396.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.004525, allocations: 7.953 kB / 396.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.004539, allocations: 0 / 396.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.004555, allocations: 7.938 kB / 396.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.004572, allocations: 11.97 kB / 396.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.004575, allocations: 0 / 396.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.692e-05/0.004602, allocations: 91.52 kB / 396.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.004602, allocations: 0 / 396.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.004733, allocations: 16 kB / 396.7 MB, free: 15.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (v1,v2,iL,phi) * 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 (5): * Single equations (assignments): 5 * 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.0002563/0.004989, allocations: 0.632 MB / 397.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.005075, allocations: 35.97 kB / 397.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005077, allocations: 0 / 397.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.005096, allocations: 19.98 kB / 397.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.00526, allocations: 14.75 kB / 397.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.006312, allocations: 1.403 MB / 398.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.006349, allocations: 71.34 kB / 398.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.296e-05/0.006372, allocations: 7.984 kB / 398.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.006407, allocations: 12.5 kB / 398.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006408, allocations: 0 / 398.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07933/0.08574, allocations: 2.296 MB / 401.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.032, allocations: 4.812 kB / 401.2 MB, free: 10.79 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChuasMemristor_AnalyticEquations_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChuasMemristor_AnalyticEquations.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_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_AnalyticEquations.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.045496633276343]